wget2: add versionCheckHook

This commit is contained in:
Kenichi Kamiya
2025-04-11 14:06:55 +09:00
parent 050ef976cb
commit 82327f0a42
+8
View File
@@ -24,6 +24,7 @@
xz,
zlib,
zstd,
versionCheckHook,
}:
stdenv.mkDerivation rec {
@@ -97,6 +98,13 @@ stdenv.mkDerivation rec {
(lib.withFeatureAs sslSupport "ssl" "openssl")
];
nativeInstallCheckInputs = [
versionCheckHook
];
doInstallCheck = true;
versionCheckProgram = "${placeholder "out"}/bin/${meta.mainProgram}";
versionCheckProgramArg = "--version";
meta = with lib; {
description = "Successor of GNU Wget, a file and recursive website downloader";
longDescription = ''