nmap: check package version

This commit is contained in:
Franz Pletz
2025-05-09 19:00:54 +02:00
parent 4673e96949
commit b429d3dbfe
+7
View File
@@ -2,6 +2,7 @@
lib,
stdenv,
fetchurl,
versionCheckHook,
libpcap,
pkg-config,
openssl,
@@ -63,6 +64,12 @@ stdenv.mkDerivation rec {
doCheck = false; # fails 3 tests, probably needs the net
nativeInstallCheckInputs = [
versionCheckHook
];
versionCheckProgramArg = "-V";
doInstallCheck = true;
meta = {
description = "Free and open source utility for network discovery and security auditing";
homepage = "http://www.nmap.org";