diff options
author | ambrop7@gmail.com <Ambroz Bizjak> | 2014-11-08 23:04:49 +0100 |
---|---|---|
committer | ambrop7@gmail.com <Ambroz Bizjak> | 2014-11-08 23:06:09 +0100 |
commit | 085b5ec48c5a76cb6945b1650f1d78cc53af7bca (patch) | |
tree | 2ec797231154882e519239763211ecf608c707d0 /pkgs/os-specific/linux/conntrack-tools/default.nix | |
parent | 9b4ba66ac3d1ac3dba325fcb1db45c8f7a57e103 (diff) |
Add conntrack-tools and missing dependencies.
Diffstat (limited to 'pkgs/os-specific/linux/conntrack-tools/default.nix')
-rw-r--r-- | pkgs/os-specific/linux/conntrack-tools/default.nix | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/conntrack-tools/default.nix b/pkgs/os-specific/linux/conntrack-tools/default.nix new file mode 100644 index 0000000000000..98414e054d8d4 --- /dev/null +++ b/pkgs/os-specific/linux/conntrack-tools/default.nix @@ -0,0 +1,23 @@ +{ fetchurl, stdenv, flex, bison, pkgconfig, libmnl, libnfnetlink +, libnetfilter_conntrack, libnetfilter_queue, libnetfilter_cttimeout +, libnetfilter_cthelper }: + +stdenv.mkDerivation rec { + name = "conntrack-tools-1.4.2"; + + src = fetchurl { + url = "http://www.netfilter.org/projects/conntrack-tools/files/${name}.tar.bz2"; + sha256 = "e5c423dc077f9ca8767eaa6cf40446943905711c6a8fe27f9cc1977d4d6aa11e"; + }; + + buildInputs = [ libmnl libnfnetlink libnetfilter_conntrack libnetfilter_queue + libnetfilter_cttimeout libnetfilter_cthelper ]; + nativeBuildInputs = [ flex bison pkgconfig ]; + + meta = with stdenv.lib; { + homepage = http://conntrack-tools.netfilter.org/; + description = "Connection tracking userspace tools"; + platforms = platforms.linux; + license = licenses.gpl2Plus; + }; +} |