Unverified Commit d3f2efd0 authored by Franz Pletz's avatar Franz Pletz Committed by GitHub
Browse files

nmap: 7.95 -> 7.96 (#405578)

parents 5b754654 b429d3db
Loading
Loading
Loading
Loading
+9 −2
Original line number Diff line number Diff line
@@ -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";