diff options
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/libnetfilter_cttimeout')
-rw-r--r-- | nixpkgs/pkgs/development/libraries/libnetfilter_cttimeout/default.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/libnetfilter_cttimeout/default.nix b/nixpkgs/pkgs/development/libraries/libnetfilter_cttimeout/default.nix new file mode 100644 index 000000000000..a8d0c2680dfe --- /dev/null +++ b/nixpkgs/pkgs/development/libraries/libnetfilter_cttimeout/default.nix @@ -0,0 +1,27 @@ +{ lib, stdenv, fetchurl, pkg-config, libmnl }: + +stdenv.mkDerivation rec { + pname = "libnetfilter_cttimeout"; + version = "1.0.0"; + + src = fetchurl { + url = "https://netfilter.org/projects/libnetfilter_cttimeout/files/${pname}-${version}.tar.bz2"; + sha256 = "aeab12754f557cba3ce2950a2029963d817490df7edb49880008b34d7ff8feba"; + }; + + nativeBuildInputs = [ pkg-config ]; + buildInputs = [ libmnl ]; + + meta = { + description = "Userspace library that provides the programming interface to the connection tracking timeout infrastructure"; + longDescription = '' + libnetfilter_cttimeout is the userspace library that provides the programming + interface to the fine-grain connection tracking timeout infrastructure. + With this library, you can create, update and delete timeout policies that can + be attached to traffic flows. This library is used by conntrack-tools. + ''; + homepage = "https://netfilter.org/projects/libnetfilter_cttimeout/"; + license = lib.licenses.gpl2Plus; + platforms = lib.platforms.linux; + }; +} |