binwalk: add versionCheckHook

This commit is contained in:
KSJ2000
2025-01-15 07:56:09 +02:00
parent 722192e09f
commit f723903b64
+5
View File
@@ -6,6 +6,7 @@
fontconfig,
bzip2,
stdenv,
versionCheckHook,
}:
rustPlatform.buildRustPackage rec {
@@ -51,6 +52,10 @@ rustPlatform.buildRustPackage rec {
"--skip=extractors::common::Chroot::make_executable"
];
nativeInstallCheckInputs = [ versionCheckHook ];
doInstallCheck = true;
versionCheckProgramArg = "-V";
meta = {
description = "Firmware Analysis Tool";
homepage = "https://github.com/ReFirmLabs/binwalk";