zmap: init at 2.1.1
zmap[1] is a fast network scanner for the IPv4 address space. This is the main package of the ZMap projects, there are further one that will be packaged soon. [1] https://zmap.io/
This commit is contained in:
parent
2169faee8b
commit
ecafe8a7af
32
pkgs/tools/security/zmap/default.nix
Normal file
32
pkgs/tools/security/zmap/default.nix
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
{ stdenv, fetchFromGitHub, cmake, pkgconfig, libjson, json_c, gengetopt, flex, byacc, gmp
|
||||||
|
, libpcap
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "zmap";
|
||||||
|
version = "2.1.1";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "zmap";
|
||||||
|
repo = pname;
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "0yaahaiawkjk020hvsb8pndbrk8k10wxkfba1irp12a4sj6rywcs";
|
||||||
|
};
|
||||||
|
|
||||||
|
cmakeFlags = [ "-DRESPECT_INSTALL_PREFIX_CONFIG=ON" ];
|
||||||
|
dontUseCmakeBuildDir = true;
|
||||||
|
|
||||||
|
nativeBuildInputs = [ cmake pkgconfig gengetopt flex byacc ];
|
||||||
|
buildInputs = [ libjson json_c gmp libpcap ];
|
||||||
|
|
||||||
|
outputs = [ "out" "man" ];
|
||||||
|
|
||||||
|
meta = with stdenv.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;
|
||||||
|
};
|
||||||
|
}
|
@ -6811,6 +6811,8 @@ in
|
|||||||
|
|
||||||
zxing = callPackage ../tools/graphics/zxing {};
|
zxing = callPackage ../tools/graphics/zxing {};
|
||||||
|
|
||||||
|
zmap = callPackage ../tools/security/zmap { };
|
||||||
|
|
||||||
|
|
||||||
### SHELLS
|
### SHELLS
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user