diff --git a/pkgs/development/libraries/libnetfilter_queue/default.nix b/pkgs/development/libraries/libnetfilter_queue/default.nix new file mode 100644 index 000000000000..a1d2b3b8e244 --- /dev/null +++ b/pkgs/development/libraries/libnetfilter_queue/default.nix @@ -0,0 +1,19 @@ +{ stdenv, fetchurl, pkgconfig, libmnl, libnfnetlink }: + +stdenv.mkDerivation rec { + name = "libnetfilter_queue-1.0.2"; + + src = fetchurl { + url = "ftp://ftp.netfilter.org/pub/libnetfilter_queue/${name}.tar.bz2"; + sha256 = "0chsmj9ky80068vn458ijz9sh4sk5yc08dw2d6b8yddybpmr1143"; + }; + + buildInputs = [ pkgconfig libmnl libnfnetlink ]; + + meta = { + homepage = "http://www.netfilter.org/projects/libnetfilter_queue/"; + description = "userspace API to packets queued by the kernel packet filter"; + + platforms = stdenv.lib.platforms.linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 39bedd990d35..0c779ae07bda 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -4812,6 +4812,8 @@ let libnetfilter_conntrack = callPackage ../development/libraries/libnetfilter_conntrack { }; + libnetfilter_queue = callPackage ../development/libraries/libnetfilter_queue { }; + libnfnetlink = callPackage ../development/libraries/libnfnetlink { }; libnih = callPackage ../development/libraries/libnih { };