Merge pull request #94980 from marsam/update-zeek

zeek: 3.1.2 -> 3.1.5
This commit is contained in:
Mario Rodas 2020-08-09 13:59:34 -05:00 committed by GitHub
commit dd49a8e706
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,19 +1,35 @@
{stdenv, fetchurl, cmake, flex, bison, openssl, libpcap, zlib, file, curl
, libmaxminddb, gperftools, python, swig, fetchpatch }:
{ stdenv
, fetchurl
, cmake
, flex
, bison
, openssl
, libpcap
, zlib
, file
, curl
, libmaxminddb
, gperftools
, python
, swig
, gettext
, fetchpatch
}:
let
preConfigure = (import ./script.nix);
in
stdenv.mkDerivation rec {
pname = "zeek";
version = "3.1.2";
version = "3.1.5";
src = fetchurl {
url = "https://download.zeek.org/zeek-${version}.tar.gz";
sha256 = "18aa4pfwav8m6vq7cr4bhfg243da54ak933rqbriljnhsrgp4n0q";
sha256 = "1rwrwdx0jf76pb11vpmv5z513ss9rrkgpjv1pa1vydf4gbafhi5r";
};
nativeBuildInputs = [ cmake flex bison file ];
buildInputs = [ openssl libpcap zlib curl libmaxminddb gperftools python swig ];
buildInputs = [ openssl libpcap zlib curl libmaxminddb gperftools python swig ]
++ stdenv.lib.optionals stdenv.isDarwin [ gettext ];
#see issue https://github.com/zeek/zeek/issues/804 to modify hardlinking duplicate files.
inherit preConfigure;