Add conntrack-tools and missing dependencies.

+82
+26
pkgs/development/libraries/libnetfilter_cthelper/default.nix
··· 1 + { stdenv, fetchurl, pkgconfig, libmnl }: 2 + 3 + stdenv.mkDerivation rec { 4 + name = "libnetfilter_cthelper-${version}"; 5 + version = "1.0.0"; 6 + 7 + src = fetchurl { 8 + url = "http://netfilter.org/projects/libnetfilter_cthelper/files/${name}.tar.bz2"; 9 + sha256 = "07618e71c4d9a6b6b3dc1986540486ee310a9838ba754926c7d14a17d8fccf3d"; 10 + }; 11 + 12 + buildInputs = [ pkgconfig libmnl ]; 13 + 14 + meta = { 15 + description = "Userspace library that provides the programming interface to the user-space connection tracking helper infrastructure."; 16 + longDescription = '' 17 + libnetfilter_cthelper is the userspace library that provides the programming interface 18 + to the user-space helper infrastructure available since Linux kernel 3.6. With this 19 + library, you register, configure, enable and disable user-space helpers. This library 20 + is used by conntrack-tools. 21 + ''; 22 + homepage = http://www.netfilter.org/projects/libnetfilter_cthelper/; 23 + license = stdenv.lib.licenses.gpl2Plus; 24 + platforms = stdenv.lib.platforms.linux; 25 + }; 26 + }
+26
pkgs/development/libraries/libnetfilter_cttimeout/default.nix
··· 1 + { stdenv, fetchurl, pkgconfig, libmnl }: 2 + 3 + stdenv.mkDerivation rec { 4 + name = "libnetfilter_cttimeout-${version}"; 5 + version = "1.0.0"; 6 + 7 + src = fetchurl { 8 + url = "http://netfilter.org/projects/libnetfilter_cttimeout/files/${name}.tar.bz2"; 9 + sha256 = "aeab12754f557cba3ce2950a2029963d817490df7edb49880008b34d7ff8feba"; 10 + }; 11 + 12 + buildInputs = [ pkgconfig libmnl ]; 13 + 14 + meta = { 15 + description = "Userspace library that provides the programming interface to the connection tracking timeout infrastructure."; 16 + longDescription = '' 17 + libnetfilter_cttimeout is the userspace library that provides the programming 18 + interface to the fine-grain connection tracking timeout infrastructure. 19 + With this library, you can create, update and delete timeout policies that can 20 + be attached to traffic flows. This library is used by conntrack-tools. 21 + ''; 22 + homepage = http://netfilter.org/projects/libnetfilter_cttimeout/; 23 + license = stdenv.lib.licenses.gpl2Plus; 24 + platforms = stdenv.lib.platforms.linux; 25 + }; 26 + }
+24
pkgs/os-specific/linux/conntrack-tools/default.nix
··· 1 + { fetchurl, stdenv, flex, bison, pkgconfig, libmnl, libnfnetlink 2 + , libnetfilter_conntrack, libnetfilter_queue, libnetfilter_cttimeout 3 + , libnetfilter_cthelper }: 4 + 5 + stdenv.mkDerivation rec { 6 + name = "conntrack-tools-${version}"; 7 + version = "1.4.2"; 8 + 9 + src = fetchurl { 10 + url = "http://www.netfilter.org/projects/conntrack-tools/files/${name}.tar.bz2"; 11 + sha256 = "e5c423dc077f9ca8767eaa6cf40446943905711c6a8fe27f9cc1977d4d6aa11e"; 12 + }; 13 + 14 + buildInputs = [ libmnl libnfnetlink libnetfilter_conntrack libnetfilter_queue 15 + libnetfilter_cttimeout libnetfilter_cthelper ]; 16 + nativeBuildInputs = [ flex bison pkgconfig ]; 17 + 18 + meta = with stdenv.lib; { 19 + homepage = http://conntrack-tools.netfilter.org/; 20 + description = "Connection tracking userspace tools"; 21 + platforms = platforms.linux; 22 + license = licenses.gpl2Plus; 23 + }; 24 + }
+6
pkgs/top-level/all-packages.nix
··· 6000 6000 6001 6001 libnetfilter_conntrack = callPackage ../development/libraries/libnetfilter_conntrack { }; 6002 6002 6003 + libnetfilter_cthelper = callPackage ../development/libraries/libnetfilter_cthelper { }; 6004 + 6005 + libnetfilter_cttimeout = callPackage ../development/libraries/libnetfilter_cttimeout { }; 6006 + 6003 6007 libnetfilter_queue = callPackage ../development/libraries/libnetfilter_queue { }; 6004 6008 6005 6009 libnfnetlink = callPackage ../development/libraries/libnfnetlink { }; ··· 7887 7891 weatherMetar = config.conky.weatherMetar or false; 7888 7892 weatherXoap = config.conky.weatherXoap or false; 7889 7893 }; 7894 + 7895 + conntrack_tools = callPackage ../os-specific/linux/conntrack-tools { }; 7890 7896 7891 7897 cpufrequtils = callPackage ../os-specific/linux/cpufrequtils { }; 7892 7898