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-08-31 06:22:45 +01:00
|
|
|
name = "bro-2.5.5";
|
2016-08-06 15:02:57 +01:00
|
|
|
|
2013-05-30 17:13:50 +01:00
|
|
|
src = fetchurl {
|
2018-06-28 19:43:35 +01:00
|
|
|
url = "https://www.bro.org/downloads/${name}.tar.gz";
|
2018-08-31 06:22:45 +01:00
|
|
|
sha256 = "1kvkiq8jjsqryry9jd4vw45pbfb46jly988mq62mv4sd1fqsxwhq";
|
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
|
|
|
};
|
|
|
|
}
|