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

22 lines
660 B
Nix
Raw Normal View History

2013-09-09 10:52:31 +00:00
{ stdenv, fetchurl, pkgconfig, libmnl, libnfnetlink }:
stdenv.mkDerivation rec {
2020-06-10 10:46:43 +00:00
version = "1.0.4";
pname = "libnetfilter_queue";
2013-09-09 10:52:31 +00:00
src = fetchurl {
url = "https://www.netfilter.org/projects/libnetfilter_queue/files/${pname}-${version}.tar.bz2";
2020-06-10 10:46:43 +00:00
sha256 = "0w7s6g8bikch1m4hnxdakpkwgrkw64ikb6wb4v4zvgyiywrk5yai";
2013-09-09 10:52:31 +00:00
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ libmnl libnfnetlink ];
2013-09-09 10:52:31 +00:00
2018-10-18 19:13:21 +00:00
meta = with stdenv.lib; {
homepage = "http://www.netfilter.org/projects/libnetfilter_queue/";
description = "Userspace API to packets queued by the kernel packet filter";
2018-10-18 19:13:21 +00:00
license = licenses.gpl2;
platforms = platforms.linux;
2013-09-09 10:52:31 +00:00
};
}