nmap: 7.95 -> 7.96 (#405578)
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
lib,
|
||||
stdenv,
|
||||
fetchurl,
|
||||
versionCheckHook,
|
||||
libpcap,
|
||||
pkg-config,
|
||||
openssl,
|
||||
@@ -15,11 +16,11 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "nmap";
|
||||
version = "7.95";
|
||||
version = "7.96";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://nmap.org/dist/nmap-${version}.tar.bz2";
|
||||
hash = "sha256-4Uq1MOR7Wv2I8ciiusf4nNj+a0eOItJVxbm923ocV3g=";
|
||||
hash = "sha256-mK56Ty+2bBo9SCr48AE3KDuRciNEa0bnogsG6r7fjIo=";
|
||||
};
|
||||
|
||||
prePatch = lib.optionalString stdenv.hostPlatform.isDarwin ''
|
||||
@@ -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