nixpkgs/pkgs/development/libraries/libnetfilter_conntrack/default.nix

29 lines
1.1 KiB
Nix
Raw Normal View History

2012-10-13 19:18:16 +02:00
{ stdenv, fetchurl, pkgconfig, libnfnetlink, libmnl }:
stdenv.mkDerivation rec {
pname = "libnetfilter_conntrack";
2020-04-06 06:27:51 +02:00
version = "1.0.8";
2012-10-13 19:18:16 +02:00
src = fetchurl {
url = "https://netfilter.org/projects/libnetfilter_conntrack/files/${pname}-${version}.tar.bz2";
2020-04-06 06:27:51 +02:00
sha256 = "1ky1mqgnplw2h9jf0kn0a69d94jkydhbiipng9l2hdcj13h3pl8c";
2012-10-13 19:18:16 +02:00
};
buildInputs = [ libmnl ];
propagatedBuildInputs = [ libnfnetlink ];
nativeBuildInputs = [ pkgconfig ];
2012-10-13 19:18:16 +02:00
meta = with stdenv.lib; {
description = "Userspace library providing an API to the in-kernel connection tracking state table";
2012-10-13 19:18:16 +02:00
longDescription = ''
libnetfilter_conntrack is a userspace library providing a programming interface (API) to the
in-kernel connection tracking state table. The library libnetfilter_conntrack has been
previously known as libnfnetlink_conntrack and libctnetlink. This library is currently used
by conntrack-tools among many other applications
'';
homepage = "https://netfilter.org/projects/libnetfilter_conntrack/";
license = licenses.gpl2Plus;
platforms = platforms.linux;
2012-10-13 19:18:16 +02:00
};
}