We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 555a42d commit 963540aCopy full SHA for 963540a
pkgs/by-name/cz/czkawka/package.nix
@@ -17,6 +17,7 @@
17
testers,
18
wrapGAppsHook4,
19
xvfb-run,
20
+ versionCheckHook,
21
}:
22
23
let
@@ -80,6 +81,13 @@ let
80
81
install -Dm444 -t $out/share/metainfo data/com.github.qarmin.czkawka.metainfo.xml
82
'';
83
84
+ nativeInstallCheckInputs = [
85
+ versionCheckHook
86
+ ];
87
+ versionCheckProgram = "${placeholder "out"}/bin/czkawka_cli";
88
+ versionCheckProgramArg = [ "--version" ];
89
+ doInstallCheck = true;
90
+
91
passthru = {
92
tests.version = testers.testVersion {
93
package = self;
0 commit comments