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