2014-08-23 23:11:37 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, libmnl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-05-28 23:29:10 +01:00
|
|
|
version = "1.1.3";
|
|
|
|
pname = "libnftnl";
|
2014-08-23 23:11:37 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-05-28 23:29:10 +01:00
|
|
|
url = "https://netfilter.org/projects/${pname}/files/${pname}-${version}.tar.bz2";
|
|
|
|
sha256 = "03xszkcpqk3s1rqc6vh7g5j13kh3d3yjnvjhk5scds3an39rgp92";
|
2014-08-23 23:11:37 +01:00
|
|
|
};
|
|
|
|
|
2017-01-22 01:17:16 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ libmnl ];
|
2014-08-23 23:11:37 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2016-05-09 14:35:41 +01:00
|
|
|
description = "A userspace library providing a low-level netlink API to the in-kernel nf_tables subsystem";
|
2014-08-23 23:11:37 +01:00
|
|
|
homepage = http://netfilter.org/projects/libnftnl;
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.linux;
|
2019-01-26 10:01:09 +00:00
|
|
|
maintainers = with maintainers; [ fpletz ];
|
2014-08-23 23:11:37 +01:00
|
|
|
};
|
|
|
|
}
|