2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, libmnl }:
|
2014-08-23 22:11:37 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2023-03-21 10:45:42 +00:00
|
|
|
version = "1.2.5";
|
2019-05-28 22:29:10 +00:00
|
|
|
pname = "libnftnl";
|
2014-08-23 22:11:37 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2023-03-21 10:45:42 +00:00
|
|
|
url = "https://netfilter.org/projects/${pname}/files/${pname}-${version}.tar.xz";
|
|
|
|
hash = "sha256-lm3gqBIMilPbhZiJdJNov7LLoMTwtMGjDSZOzMRfEiY=";
|
2014-08-23 22:11:37 +00: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 22:11:37 +00:00
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with 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";
|
2022-04-25 15:04:14 +00:00
|
|
|
homepage = "https://netfilter.org/projects/libnftnl/";
|
2014-08-23 22:11:37 +00:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.linux;
|
2021-11-18 13:57:57 +00:00
|
|
|
maintainers = with maintainers; [ fpletz ajs124 ];
|
2014-08-23 22:11:37 +00:00
|
|
|
};
|
|
|
|
}
|