2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2012-10-13 17:53:17 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "libnfnetlink-1.0.1";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2018-06-28 19:43:35 +01:00
|
|
|
url = "https://www.netfilter.org/projects/libnfnetlink/files/${name}.tar.bz2";
|
2016-10-09 15:17:26 +01:00
|
|
|
sha256 = "06mm2x4b01k3m7wnrxblk9j0mybyr4pfz28ml7944xhjx6fy2w7j";
|
2012-10-13 17:53:17 +01:00
|
|
|
};
|
|
|
|
|
2018-01-11 20:51:53 +00:00
|
|
|
patches = [
|
|
|
|
./Use-stdlib-uint-instead-of-u_int.patch
|
|
|
|
];
|
|
|
|
|
2012-10-13 17:53:17 +01:00
|
|
|
meta = {
|
2013-10-06 10:49:53 +01:00
|
|
|
description = "Low-level library for netfilter related kernel/userspace communication";
|
2012-10-13 17:53:17 +01:00
|
|
|
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.
|
|
|
|
'';
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://www.netfilter.org/projects/libnfnetlink/index.html";
|
2021-01-21 17:00:13 +00:00
|
|
|
license = lib.licenses.gpl2;
|
2012-10-13 17:53:17 +01:00
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
platforms = lib.platforms.linux;
|
2012-10-13 17:53:17 +01:00
|
|
|
};
|
|
|
|
}
|