2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, libmnl, libnfnetlink }:
|
2013-09-09 10:52:31 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2020-07-05 13:34:38 +00:00
|
|
|
version = "1.0.5";
|
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-07-05 13:34:38 +00:00
|
|
|
sha256 = "1xdra6i4p8jkv943ygjw646qx8df27f7p5852kc06vjx608krzzr";
|
2013-09-09 10:52:31 +00:00
|
|
|
};
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2017-09-05 21:26:13 +00:00
|
|
|
buildInputs = [ libmnl libnfnetlink ];
|
2013-09-09 10:52:31 +00:00
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2021-07-31 17:01:50 +00:00
|
|
|
homepage = "https://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
|
|
|
};
|
|
|
|
}
|