nixpkgs/pkgs/development/libraries/libnftnl/default.nix
William A. Kennington III c3f730d185 libnftnl: Add derivation
2014-08-25 14:55:15 +02:00

21 lines
617 B
Nix

{ 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 ];
};
}