1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 15:11:35 +00:00
nixpkgs/pkgs/applications/networking/ids/daq/default.nix

23 lines
745 B
Nix
Raw Normal View History

{stdenv, fetchurl, flex, bison, libpcap, libdnet, libnfnetlink, libnetfilter_queue}:
2013-05-30 14:05:39 +01:00
stdenv.mkDerivation rec {
name = "daq-2.0.5";
2013-05-30 14:05:39 +01:00
src = fetchurl {
name = "${name}.tar.gz";
url = "mirror://sourceforge/snort/${name}.tar.gz";
sha256 = "0vdwb0r9kdlgj4g0i0swafbc7qik0zmks17mhqji8cl7hpdva13p";
2013-05-30 14:05:39 +01:00
};
buildInputs = [ flex bison libpcap libdnet libnfnetlink libnetfilter_queue];
configureFlags = "--enable-nfq-module=yes --with-dnet-includes=${libdnet}/includes --with-dnet-libraries=${libdnet}/lib";
2013-05-30 14:05:39 +01:00
meta = {
description = "Data AcQuisition library (DAQ), for packet I/O";
homepage = http://www.snort.org;
2014-09-24 09:43:51 +01:00
maintainers = with stdenv.lib.maintainers; [ aycanirican ];
license = stdenv.lib.licenses.gpl2;
2013-05-30 14:05:39 +01:00
};
}