Merge pull request #114836 from marsam/update-zeek
zeek: 3.2.4 -> 4.0.0
This commit is contained in:
commit
cb47d44717
@ -11,38 +11,30 @@
|
||||
, curl
|
||||
, libmaxminddb
|
||||
, gperftools
|
||||
, python
|
||||
, python3
|
||||
, swig
|
||||
, gettext
|
||||
, fetchpatch
|
||||
, coreutils
|
||||
, ncurses
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "zeek";
|
||||
version = "3.2.4";
|
||||
version = "4.0.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://download.zeek.org/zeek-${version}.tar.gz";
|
||||
sha256 = "11dy4w810jms75nrr3n3dy5anrl5ksb5pmnk31z37k60hg9q9afm";
|
||||
sha256 = "0m7zy5k2595vf5xr2r4m75rfsdddigrv2hilm1c3zaif4srxmvpj";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake flex bison file ];
|
||||
buildInputs = [ openssl libpcap zlib curl libmaxminddb gperftools python swig ]
|
||||
buildInputs = [ openssl libpcap zlib curl libmaxminddb gperftools python3 swig ncurses ]
|
||||
++ lib.optionals stdenv.isDarwin [ gettext ];
|
||||
|
||||
patches = lib.optionals stdenv.cc.isClang [
|
||||
# Fix pybind c++17 build with Clang. See: https://github.com/pybind/pybind11/issues/1604
|
||||
(fetchpatch {
|
||||
url = "https://github.com/pybind/pybind11/commit/759221f5c56939f59d8f342a41f8e2d2cacbc8cf.patch";
|
||||
sha256 = "17qznp8yavnv84fjsbghv3d59z6k6rx74j49w0izakmgw5a95w84";
|
||||
extraPrefix = "auxil/broker/bindings/python/3rdparty/pybind11/";
|
||||
stripLen = 1;
|
||||
})
|
||||
];
|
||||
outputs = [ "out" "lib" "py" ];
|
||||
|
||||
cmakeFlags = [
|
||||
"-DPY_MOD_INSTALL_DIR=${placeholder "out"}/${python.sitePackages}"
|
||||
"-DZEEK_PYTHON_DIR=${placeholder "py"}/lib/${python3.libPrefix}/site-packages"
|
||||
"-DENABLE_PERFTOOLS=true"
|
||||
"-DINSTALL_AUX_TOOLS=true"
|
||||
];
|
||||
|
@ -8661,6 +8661,10 @@ in {
|
||||
|
||||
zdaemon = callPackage ../development/python-modules/zdaemon { };
|
||||
|
||||
zeek = disabledIf (!isPy3k) (toPythonModule (pkgs.zeek.override {
|
||||
python3 = python;
|
||||
})).py;
|
||||
|
||||
zeep = callPackage ../development/python-modules/zeep { };
|
||||
|
||||
zeitgeist = (toPythonModule (pkgs.zeitgeist.override { python3 = python; })).py;
|
||||
|
Loading…
Reference in New Issue
Block a user