nixpkgs-suyu/pkgs/development/libraries/libnftnl/default.nix

23 lines
675 B
Nix
Raw Normal View History

2014-08-24 00:11:37 +02:00
{ stdenv, fetchurl, pkgconfig, libmnl }:
stdenv.mkDerivation rec {
2019-08-20 08:21:32 +02:00
version = "1.1.4";
pname = "libnftnl";
2014-08-24 00:11:37 +02:00
src = fetchurl {
url = "https://netfilter.org/projects/${pname}/files/${pname}-${version}.tar.bz2";
2019-08-20 08:21:32 +02:00
sha256 = "087dfc2n4saf2k68hyi4byvgz5grwpw5kfjvmkpn3wmd8y1riiy8";
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;
maintainers = with maintainers; [ fpletz ];
2014-08-24 00:11:37 +02:00
};
}