newsflash: prefer nix-update-script over gitUpdater
This commit is contained in:
@@ -22,7 +22,7 @@
|
|||||||
glib-networking,
|
glib-networking,
|
||||||
librsvg,
|
librsvg,
|
||||||
gst_all_1,
|
gst_all_1,
|
||||||
gitUpdater,
|
nix-update-script,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
@@ -94,9 +94,11 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
# For https://gitlab.com/news-flash/news_flash_gtk/-/blob/8e5fc4acf5ca6be5b8cd616466a17e7a273f9dda/src/meson.build#L47
|
# For https://gitlab.com/news-flash/news_flash_gtk/-/blob/8e5fc4acf5ca6be5b8cd616466a17e7a273f9dda/src/meson.build#L47
|
||||||
env.CARGO_BUILD_TARGET = stdenv.hostPlatform.rust.rustcTargetSpec;
|
env.CARGO_BUILD_TARGET = stdenv.hostPlatform.rust.rustcTargetSpec;
|
||||||
|
|
||||||
passthru.updateScript = gitUpdater {
|
passthru.updateScript = nix-update-script {
|
||||||
rev-prefix = "v.";
|
extraArgs = [
|
||||||
ignoredVersions = "(alpha|beta|rc)";
|
"--version-regex"
|
||||||
|
"^v.(\\d+\\.\\d+\\.\\d+)$"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
|||||||
Reference in New Issue
Block a user