about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/libnfnetlink/default.nix
blob: 3b6b804a8dc62ae9f4e66e0a80cda905f1802534 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{ lib, stdenv, fetchurl }:

stdenv.mkDerivation rec {
  pname = "libnfnetlink";
  version = "1.0.2";

  src = fetchurl {
    url = "https://www.netfilter.org/projects/libnfnetlink/files/libnfnetlink-${version}.tar.bz2";
    sha256 = "0xn3rcrzxr6g82kfxzs9bqn2zvl2kf2yda30drwb9vr6sk1wfr5h";
  };

  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.
    '';
    homepage = "https://www.netfilter.org/projects/libnfnetlink/index.html";
    license = lib.licenses.gpl2;

    platforms = lib.platforms.linux;
  };
}