1{ lib, stdenv, fetchurl }:
2
3stdenv.mkDerivation rec {
4 pname = "libnfnetlink";
5 version = "1.0.2";
6
7 src = fetchurl {
8 url = "https://www.netfilter.org/projects/libnfnetlink/files/libnfnetlink-${version}.tar.bz2";
9 sha256 = "0xn3rcrzxr6g82kfxzs9bqn2zvl2kf2yda30drwb9vr6sk1wfr5h";
10 };
11
12 meta = {
13 description = "Low-level library for netfilter related kernel/userspace communication";
14 longDescription = ''
15 libnfnetlink is the low-level library for netfilter related kernel/userspace communication.
16 It provides a generic messaging infrastructure for in-kernel netfilter subsystems
17 (such as nfnetlink_log, nfnetlink_queue, nfnetlink_conntrack) and their respective users
18 and/or management tools in userspace.
19
20 This library is not meant as a public API for application developers.
21 It is only used by other netfilter.org projects, like the aforementioned ones.
22 '';
23 homepage = "https://www.netfilter.org/projects/libnfnetlink/index.html";
24 license = lib.licenses.gpl2;
25
26 platforms = lib.platforms.linux;
27 };
28}