2014-08-24 00:11:37 +02:00
|
|
|
{ stdenv, fetchurl, pkgconfig, libmnl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-06-14 12:36:34 +02:00
|
|
|
version = "1.1.1";
|
2018-01-15 07:33:44 +01:00
|
|
|
name = "libnftnl-${version}";
|
2014-08-24 00:11:37 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-01-15 07:33:44 +01:00
|
|
|
url = "https://netfilter.org/projects/libnftnl/files/${name}.tar.bz2";
|
2018-06-14 12:36:34 +02:00
|
|
|
sha256 = "1wmgjfcb35mscb2srzia5931srygywrs1aznxmg67v177x0nasjx";
|
2014-08-24 00:11:37 +02:00
|
|
|
};
|
|
|
|
|
2017-01-22 02:17:16 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ libmnl ];
|
2014-08-24 00:11:37 +02:00
|
|
|
|
|
|
|
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;
|
2017-01-22 02:17:16 +01:00
|
|
|
maintainers = with maintainers; [ wkennington fpletz ];
|
2014-08-24 00:11:37 +02:00
|
|
|
};
|
|
|
|
}
|