summary refs log tree commit diff
path: root/pkgs/development/libraries/libnftnl/default.nix
blob: 4a4159bfdc72eb4606168ac03c2d57571a6f4ff2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{ stdenv, fetchurl, pkgconfig, libmnl }:

stdenv.mkDerivation rec {
  name = "libnftnl-1.0.3";

  src = fetchurl {
    url = "netfilter.org/projects/libnftnl/files/${name}.tar.bz2";
    sha256 = "1xr7gis51z9r96s5m5z3dw3f5jx2m1qb7mpvl69631m6nvmff2ng";
  };

  buildInputs = [ pkgconfig libmnl ];

  meta = with stdenv.lib; {
    description = "a userspace library providing a low-level netlink API to the in-kernel nf_tables subsystem";
    homepage = http://netfilter.org/projects/libnftnl;
    license = licenses.gpl2Plus;
    platforms = platforms.linux;
    maintainers = with maintainers; [ wkennington ];
  };
}