trurl: replace testers.testVersion with versionCheckHook

Signed-off-by: Christoph Heiss <christoph@c8h4.io>
This commit is contained in:
Christoph Heiss
2025-05-14 10:36:27 +02:00
parent 823938b49c
commit 663bafb787
+4 -4
View File
@@ -6,7 +6,7 @@
python3,
perl,
trurl,
testers,
versionCheckHook,
}:
stdenv.mkDerivation rec {
@@ -46,9 +46,9 @@ stdenv.mkDerivation rec {
nativeCheckInputs = [ python3 ];
checkTarget = "test";
passthru.tests.version = testers.testVersion {
package = trurl;
};
doInstallCheck = true;
nativeInstallCheckInputs = [ versionCheckHook ];
versionCheckProgramArg = "--version";
meta = with lib; {
description = "Command line tool for URL parsing and manipulation";