libnftnl: Add derivation

This commit is contained in:
William A. Kennington III 2014-08-23 15:11:37 -07:00 committed by Domen Kožar
parent 8b98d7dc08
commit c3f730d185
2 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,20 @@
{ stdenv, fetchurl, pkgconfig, libmnl }:
stdenv.mkDerivation rec {
name = "libnftnl-1.0.2";
src = fetchurl {
url = "netfilter.org/projects/libnftnl/files/${name}.tar.bz2";
sha256 = "1p268cv85l4ipd1p9ipjdrfgba14cblp01apv7wc44zmwfr2gkkq";
};
buildInputs = [ pkgconfig libmnl ];
meta = with stdenv.lib; {
description = "a userspace library providing a low-level netlink API to the in-kernel nf_tables subsystem";
homepage = http://netfilter.org/projects/libnftnl;
license = licenses.gpl2Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ wkennington ];
};
}

View File

@ -5448,6 +5448,8 @@ let
libnfnetlink = callPackage ../development/libraries/libnfnetlink { };
libnftnl = callPackage ../development/libraries/libnftnl { };
libnih = callPackage ../development/libraries/libnih { };
libnova = callPackage ../development/libraries/libnova { };