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";
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "libnetfilter_queue";
|
2013-09-09 10:52:31 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 12:41:18 +00:00
|
|
|
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
|
|
|
};
|
|
|
|
|
2017-09-05 21:26:13 +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; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://www.netfilter.org/projects/libnetfilter_queue/";
|
2016-06-20 10:53:46 +00:00
|
|
|
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
|
|
|
};
|
|
|
|
}
|