blob: 1749c9ef6d7f9f89561391ca194e5f0734fad6c6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, libjson, json_c, gengetopt, flex, byacc, gmp
, libpcap, libunistring, judy
}:
stdenv.mkDerivation rec {
pname = "zmap";
version = "4.2.0";
src = fetchFromGitHub {
owner = "zmap";
repo = pname;
rev = "v${version}";
sha256 = "sha256-4BSHNR/snwLf0/UsiCM8xzXk59G5GtsxQKb1F2VVL9c=";
};
cmakeFlags = [ "-DRESPECT_INSTALL_PREFIX_CONFIG=ON" ];
nativeBuildInputs = [ cmake pkg-config gengetopt flex byacc ];
buildInputs = [ libjson json_c gmp libpcap libunistring judy ];
outputs = [ "out" "man" ];
meta = with lib; {
homepage = "https://zmap.io/";
license = licenses.asl20;
description = "Fast single packet network scanner designed for Internet-wide network surveys";
maintainers = with maintainers; [ ma27 ];
platforms = platforms.unix;
broken = stdenv.isDarwin;
};
}
|