2014-08-24 00:11:37 +02:00
|
|
|
{ stdenv, fetchurl, pkgconfig, libmnl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-09-01 12:24:02 +02:00
|
|
|
name = "libnftnl-1.0.6";
|
2014-08-24 00:11:37 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2016-05-09 15:35:41 +02:00
|
|
|
url = "http://netfilter.org/projects/libnftnl/files/${name}.tar.bz2";
|
2016-09-01 12:24:02 +02:00
|
|
|
sha256 = "0zmh190c7212zvzjsn5lm6pf399r4arq7dliiqq6grd174m96fxd";
|
2014-08-24 00:11:37 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ pkgconfig libmnl ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2016-05-09 15:35:41 +02:00
|
|
|
description = "A userspace library providing a low-level netlink API to the in-kernel nf_tables subsystem";
|
2014-08-24 00:11:37 +02:00
|
|
|
homepage = http://netfilter.org/projects/libnftnl;
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ wkennington ];
|
|
|
|
};
|
|
|
|
}
|