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