···11+{ stdenv, fetchurl, pkgconfig, libmnl }:
22+33+stdenv.mkDerivation rec {
44+ name = "libnetfilter_cttimeout-${version}";
55+ version = "1.0.0";
66+77+ src = fetchurl {
88+ url = "http://netfilter.org/projects/libnetfilter_cttimeout/files/${name}.tar.bz2";
99+ sha256 = "aeab12754f557cba3ce2950a2029963d817490df7edb49880008b34d7ff8feba";
1010+ };
1111+1212+ buildInputs = [ pkgconfig libmnl ];
1313+1414+ meta = {
1515+ description = "Userspace library that provides the programming interface to the connection tracking timeout infrastructure.";
1616+ longDescription = ''
1717+ libnetfilter_cttimeout is the userspace library that provides the programming
1818+ interface to the fine-grain connection tracking timeout infrastructure.
1919+ With this library, you can create, update and delete timeout policies that can
2020+ be attached to traffic flows. This library is used by conntrack-tools.
2121+ '';
2222+ homepage = http://netfilter.org/projects/libnetfilter_cttimeout/;
2323+ license = stdenv.lib.licenses.gpl2Plus;
2424+ platforms = stdenv.lib.platforms.linux;
2525+ };
2626+}