nixpkgs/pkgs/applications/networking/ids/snort/default.nix
Vladimír Čunát bba6880aa6 snort.org: switch downloads to SourceForge
On snort.org they only seem to keep the latest release, which is annoying.
Fixes #8065. /cc maintainer @aycanirican.
2015-05-31 17:11:40 +02:00

21 lines
635 B
Nix

{stdenv, fetchurl, libpcap, pcre, libdnet, daq, zlib, flex, bison}:
stdenv.mkDerivation rec {
version = "2.9.7.2";
name = "snort-${version}";
src = fetchurl {
name = "${name}.tar.gz";
url = "mirror://sourceforge/snort/${name}.tar.gz";
sha256 = "1gmlrh9ygpd5h6nnrr4090wk5n2yq2yrvwi7q6xbm6lxj4rcamyv";
};
buildInputs = [ libpcap pcre libdnet daq zlib flex bison ];
meta = {
description = "Network intrusion prevention and detection system (IDS/IPS)";
homepage = http://www.snort.org;
maintainers = with stdenv.lib.maintainers; [ aycanirican ];
license = stdenv.lib.licenses.gpl2;
};
}