2014-08-23 23:11:37 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, libmnl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-05-02 21:33:46 +01:00
|
|
|
version = "1.1.0";
|
2018-01-15 06:33:44 +00:00
|
|
|
name = "libnftnl-${version}";
|
2014-08-23 23:11:37 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-01-15 06:33:44 +00:00
|
|
|
url = "https://netfilter.org/projects/libnftnl/files/${name}.tar.bz2";
|
2018-05-02 21:33:46 +01:00
|
|
|
sha256 = "0v4gywcjvv2vg4zk632al1zv3ad0lx87nshynv110l8n3fhsq3pc";
|
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;
|
2017-01-22 01:17:16 +00:00
|
|
|
maintainers = with maintainers; [ wkennington fpletz ];
|
2014-08-23 23:11:37 +01:00
|
|
|
};
|
|
|
|
}
|