feroxbuster: add versionCheckHook

This commit is contained in:
Fabian Affolter
2025-03-29 12:10:28 +01:00
parent 3015bf6e00
commit c2c9bce293
+9 -1
View File
@@ -6,6 +6,7 @@
pkg-config,
rustPlatform,
nix-update-script,
versionCheckHook,
}:
rustPlatform.buildRustPackage rec {
@@ -25,13 +26,20 @@ rustPlatform.buildRustPackage rec {
OPENSSL_NO_VENDOR = true;
nativeBuildInputs = [ pkg-config ];
nativeBuildInputs = [
pkg-config
versionCheckHook
];
buildInputs = [ openssl ];
# Tests require network access
doCheck = false;
doInstallCheck = true;
versionCheckProgramArg = [ "--version" ];
passthru.updateScript = nix-update-script { };
meta = with lib; {