summary refs log tree commit diff
path: root/pkgs/development/libraries/libnetfilter_conntrack/default.nix
blob: 8e689ed25687ec5128b9d3b1ecaccb16e4f4b1df (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
{ stdenv, fetchurl, pkgconfig, libnfnetlink, libmnl }:

stdenv.mkDerivation rec {
  name = "libnetfilter_conntrack-1.0.2";

  src = fetchurl {
    url = "http://netfilter.org/projects/libnetfilter_conntrack/files/${name}.tar.bz2";
    md5 = "447114b5d61bb9a9617ead3217c3d3ff";
  };

  buildInputs = [ pkgconfig libnfnetlink libmnl ];

  meta = {
    description = "Userspace library providing an API to the in-kernel connection tracking state table";
    longDescription = ''
      libnetfilter_conntrack is a userspace library providing a programming interface (API) to the
      in-kernel connection tracking state table. The library libnetfilter_conntrack has been
      previously known as libnfnetlink_conntrack and libctnetlink. This library is currently used
      by conntrack-tools among many other applications
    '';
    homepage = http://netfilter.org/projects/libnetfilter_conntrack/;
    license = "GPLv2+";

    platforms = stdenv.lib.platforms.linux;
  };
}