2014-08-23 23:11:37 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, libmnl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2014-12-17 22:44:23 +00:00
|
|
|
name = "libnftnl-1.0.3";
|
2014-08-23 23:11:37 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "netfilter.org/projects/libnftnl/files/${name}.tar.bz2";
|
2014-12-17 22:44:23 +00:00
|
|
|
sha256 = "1xr7gis51z9r96s5m5z3dw3f5jx2m1qb7mpvl69631m6nvmff2ng";
|
2014-08-23 23:11:37 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|