yarr: switch to versionCheckHook

Signed-off-by: Christoph Heiss <christoph@c8h4.io>
This commit is contained in:
Christoph Heiss
2025-04-22 18:40:29 +02:00
parent 61183015c2
commit 3590df4d9f
+4 -7
View File
@@ -2,8 +2,7 @@
lib,
buildGoModule,
fetchFromGitHub,
testers,
yarr,
versionCheckHook,
}:
buildGoModule rec {
@@ -31,11 +30,9 @@ buildGoModule rec {
"sqlite_json"
];
passthru.tests.version = testers.testVersion {
package = yarr;
version = "v${version}";
};
doInstallCheck = true;
nativeInstallCheckInputs = [ versionCheckHook ];
versionCheckProgramArg = "--version";
meta = with lib; {
description = "Yet another rss reader";