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