1 { lib, stdenv, fetchFromGitHub, cmake, pkg-config, libjson, json_c, gengetopt, flex, byacc, gmp
2 , libpcap, libunistring, judy
5 stdenv.mkDerivation rec {
9 src = fetchFromGitHub {
13 sha256 = "sha256-4BSHNR/snwLf0/UsiCM8xzXk59G5GtsxQKb1F2VVL9c=";
16 cmakeFlags = [ "-DRESPECT_INSTALL_PREFIX_CONFIG=ON" ];
18 nativeBuildInputs = [ cmake pkg-config gengetopt flex byacc ];
19 buildInputs = [ libjson json_c gmp libpcap libunistring judy ];
21 outputs = [ "out" "man" ];
24 homepage = "https://zmap.io/";
25 license = licenses.asl20;
26 description = "Fast single packet network scanner designed for Internet-wide network surveys";
27 maintainers = with maintainers; [ ma27 ];
28 platforms = platforms.unix;
29 broken = stdenv.hostPlatform.isDarwin;