nixpkgs-suyu/pkgs/applications/networking/ids/zeek/default.nix

32 lines
964 B
Nix
Raw Normal View History

2019-09-30 04:21:21 +02:00
{stdenv, fetchurl, cmake, flex, bison, openssl, libpcap, zlib, file, curl
, libmaxminddb, gperftools, python, swig, rocksdb }:
stdenv.mkDerivation rec {
pname = "zeek";
version = "3.0.0";
src = fetchurl {
url = "https://www.zeek.org/downloads/zeek-${version}.tar.gz";
sha256 = "16pz5fh0z1hmvhn8pxqmdm5a9d8mqrp4gxpxkaywnaqk2h598lmm";
};
nativeBuildInputs = [ cmake flex bison file ];
buildInputs = [ openssl libpcap zlib curl libmaxminddb gperftools python swig rocksdb ];
enableParallelBuilding = true;
cmakeFlags = [
"-DPY_MOD_INSTALL_DIR=${placeholder "out"}/${python.sitePackages}"
"-DENABLE_PERFTOOLS=true"
"-DINSTALL_AUX_TOOLS=true"
];
meta = with stdenv.lib; {
description = "Powerful network analysis framework much different from a typical IDS";
homepage = "https://www.zeek.org";
license = licenses.bsd3;
2019-10-02 10:00:00 +02:00
maintainers = with maintainers; [ pSub marsam ];
2019-09-30 04:21:21 +02:00
platforms = platforms.unix;
};
}