2015-06-29 03:50:08 -07:00
|
|
|
{stdenv, fetchurl, cmake, flex, bison, openssl, libpcap, perl, zlib, file, curl
|
2017-08-26 19:47:22 -07:00
|
|
|
, geoip, gperftools, python, swig }:
|
2013-05-30 09:13:50 -07:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-06-06 10:13:26 -07:00
|
|
|
name = "bro-2.5.4";
|
2016-08-06 07:02:57 -07:00
|
|
|
|
2013-05-30 09:13:50 -07:00
|
|
|
src = fetchurl {
|
2016-11-18 03:23:50 -08:00
|
|
|
url = "http://www.bro.org/downloads/${name}.tar.gz";
|
2018-06-06 10:13:26 -07:00
|
|
|
sha256 = "07sz1i4ly30257677b8vfrbsvxhz2awijyzn5ihg4m567x1ymnl0";
|
2013-05-30 09:13:50 -07:00
|
|
|
};
|
2016-08-06 07:02:57 -07:00
|
|
|
|
2017-08-26 19:47:22 -07:00
|
|
|
nativeBuildInputs = [ cmake flex bison file ];
|
|
|
|
buildInputs = [ openssl libpcap perl zlib curl geoip gperftools python swig ];
|
2013-05-30 09:13:50 -07:00
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
2016-08-06 07:02:57 -07:00
|
|
|
|
2014-09-27 10:33:19 -07:00
|
|
|
meta = with stdenv.lib; {
|
2017-08-26 19:47:22 -07:00
|
|
|
description = "Powerful network analysis framework much different from a typical IDS";
|
2017-08-02 14:50:51 -07:00
|
|
|
homepage = https://www.bro.org/;
|
2014-09-27 10:33:19 -07:00
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ pSub ];
|
2016-08-06 07:02:57 -07:00
|
|
|
platforms = with platforms; linux;
|
2013-05-30 09:13:50 -07:00
|
|
|
};
|
|
|
|
}
|