diff options
author | ambrop7@gmail.com <Ambroz Bizjak> | 2014-11-08 23:04:49 +0100 |
---|---|---|
committer | ambrop7@gmail.com <Ambroz Bizjak> | 2014-11-09 00:28:21 +0100 |
commit | 45aeaf69384e4d607673fd95e090a42f89299dac (patch) | |
tree | e3b8a7bd977e9fd10d3370da875794f7f0507b49 /pkgs/os-specific/linux/conntrack-tools | |
parent | 81c2ce052452a3c0c9dfffbad750915206f4f400 (diff) |
Add conntrack-tools and missing dependencies.
Diffstat (limited to 'pkgs/os-specific/linux/conntrack-tools')
-rw-r--r-- | pkgs/os-specific/linux/conntrack-tools/default.nix | 24 |
1 files changed, 24 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 000000000000..51358628ff1e --- /dev/null +++ b/pkgs/os-specific/linux/conntrack-tools/default.nix @@ -0,0 +1,24 @@ +{ fetchurl, stdenv, flex, bison, pkgconfig, libmnl, libnfnetlink +, libnetfilter_conntrack, libnetfilter_queue, libnetfilter_cttimeout +, libnetfilter_cthelper }: + +stdenv.mkDerivation rec { + name = "conntrack-tools-${version}"; + version = "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; + }; +} |