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