2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2022-01-13 20:06:32 +00:00
|
|
|
pname = "libnfnetlink";
|
|
|
|
version = "1.0.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2022-01-13 20:06:32 +00:00
|
|
|
url = "https://www.netfilter.org/projects/libnfnetlink/files/libnfnetlink-${version}.tar.bz2";
|
2020-04-24 23:36:52 +00:00
|
|
|
sha256 = "06mm2x4b01k3m7wnrxblk9j0mybyr4pfz28ml7944xhjx6fy2w7j";
|
|
|
|
};
|
|
|
|
|
|
|
|
patches = [
|
|
|
|
./Use-stdlib-uint-instead-of-u_int.patch
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Low-level library for netfilter related kernel/userspace communication";
|
|
|
|
longDescription = ''
|
|
|
|
libnfnetlink is the low-level library for netfilter related kernel/userspace communication.
|
|
|
|
It provides a generic messaging infrastructure for in-kernel netfilter subsystems
|
|
|
|
(such as nfnetlink_log, nfnetlink_queue, nfnetlink_conntrack) and their respective users
|
|
|
|
and/or management tools in userspace.
|
|
|
|
|
|
|
|
This library is not meant as a public API for application developers.
|
|
|
|
It is only used by other netfilter.org projects, like the aforementioned ones.
|
|
|
|
'';
|
2021-08-05 21:33:18 +00:00
|
|
|
homepage = "https://www.netfilter.org/projects/libnfnetlink/index.html";
|
2021-02-05 17:12:51 +00:00
|
|
|
license = lib.licenses.gpl2;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
platforms = lib.platforms.linux;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|