nmap: check package version
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user