2014-08-24 02:11:37 +04:00
|
|
|
{ stdenv, fetchurl, pkgconfig, libmnl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2015-09-18 00:04:31 +03:00
|
|
|
name = "libnftnl-1.0.5";
|
2014-08-24 02:11:37 +04:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "netfilter.org/projects/libnftnl/files/${name}.tar.bz2";
|
2015-09-18 00:04:31 +03:00
|
|
|
sha256 = "15z4kcsklbvy94d24p2r0avyhc2rsvygjqr3gyccg2z30akzbm7n";
|
2014-08-24 02:11:37 +04: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 ];
|
|
|
|
};
|
|
|
|
}
|