at 18.03-beta 29 lines 894 B view raw
1{ stdenv, fetchurl, pkgconfig, docbook2x, docbook_xml_dtd_45 2, flex, bison, libmnl, libnftnl, gmp, readline }: 3 4stdenv.mkDerivation rec { 5 name = "nftables-0.8.2"; 6 7 src = fetchurl { 8 url = "http://netfilter.org/projects/nftables/files/${name}.tar.bz2"; 9 sha256 = "1v370wzh3fzby0cdb9iykkhdj1yjcp5qkp33xyn7w7pii2phlpv7"; 10 }; 11 12 configureFlags = [ 13 "CONFIG_MAN=y" 14 "DB2MAN=docbook2man" 15 ]; 16 17 XML_CATALOG_FILES = "${docbook_xml_dtd_45}/xml/dtd/docbook/catalog.xml"; 18 19 nativeBuildInputs = [ pkgconfig docbook2x flex bison ]; 20 buildInputs = [ libmnl libnftnl gmp readline ]; 21 22 meta = with stdenv.lib; { 23 description = "The project that aims to replace the existing {ip,ip6,arp,eb}tables framework"; 24 homepage = http://netfilter.org/projects/nftables; 25 license = licenses.gpl2; 26 platforms = platforms.linux; 27 maintainers = with maintainers; [ wkennington ]; 28 }; 29}