pkgs/shoko: fix to only use stable versions

This commit is contained in:
nanoyaki
2026-01-11 06:30:21 +01:00
parent 3af1e22efd
commit fd5ebb1a45
+8 -1
View File
@@ -9,6 +9,7 @@
rhash,
nix-update-script,
}:
buildDotnetModule (finalAttrs: {
pname = "shoko";
version = "5.1.0";
@@ -38,7 +39,13 @@ buildDotnetModule (finalAttrs: {
runtimeDeps = [ rhash ];
passthru = {
updateScript = nix-update-script { };
updateScript = nix-update-script {
extraArgs = [
"--version-regex"
''v([0-9]+\.[0-9]+\.[0-9]+).*''
];
};
tests.shoko = nixosTests.shoko;
};