2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, libmnl }:
|
2014-08-23 23:11:37 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2020-11-02 17:28:43 +00:00
|
|
|
version = "1.1.8";
|
2019-05-28 23:29:10 +01:00
|
|
|
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";
|
2020-11-02 17:28:43 +00:00
|
|
|
sha256 = "04dp797llg3cqzivwrql30wg9mfr0ngnp0v5gs7jcdmp11dzm8q4";
|
2014-08-23 23:11:37 +01:00
|
|
|
};
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2017-01-22 01:17:16 +00:00
|
|
|
buildInputs = [ libmnl ];
|
2014-08-23 23:11:37 +01:00
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with 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";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://netfilter.org/projects/libnftnl";
|
2014-08-23 23:11:37 +01:00
|
|
|
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
|
|
|
};
|
|
|
|
}
|