mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
83a93d4e19
Semi-automatic update. These checks were performed: - built on NixOS - ran `/nix/store/ahcr1zyg4sp38rwch6vvvziwm9afj2ja-nftables-0.8.2/bin/nft -h` got 0 exit code - ran `/nix/store/ahcr1zyg4sp38rwch6vvvziwm9afj2ja-nftables-0.8.2/bin/nft --help` got 0 exit code - ran `/nix/store/ahcr1zyg4sp38rwch6vvvziwm9afj2ja-nftables-0.8.2/bin/nft -v` and found version 0.8.2 - ran `/nix/store/ahcr1zyg4sp38rwch6vvvziwm9afj2ja-nftables-0.8.2/bin/nft --version` and found version 0.8.2 - ran `/nix/store/ahcr1zyg4sp38rwch6vvvziwm9afj2ja-nftables-0.8.2/bin/nft -h` and found version 0.8.2 - ran `/nix/store/ahcr1zyg4sp38rwch6vvvziwm9afj2ja-nftables-0.8.2/bin/nft --help` and found version 0.8.2 - found 0.8.2 with grep in /nix/store/ahcr1zyg4sp38rwch6vvvziwm9afj2ja-nftables-0.8.2 - found 0.8.2 in filename of file in /nix/store/ahcr1zyg4sp38rwch6vvvziwm9afj2ja-nftables-0.8.2 cc "@wkennington"
30 lines
894 B
Nix
30 lines
894 B
Nix
{ stdenv, fetchurl, pkgconfig, docbook2x, docbook_xml_dtd_45
|
|
, flex, bison, libmnl, libnftnl, gmp, readline }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "nftables-0.8.2";
|
|
|
|
src = fetchurl {
|
|
url = "http://netfilter.org/projects/nftables/files/${name}.tar.bz2";
|
|
sha256 = "1v370wzh3fzby0cdb9iykkhdj1yjcp5qkp33xyn7w7pii2phlpv7";
|
|
};
|
|
|
|
configureFlags = [
|
|
"CONFIG_MAN=y"
|
|
"DB2MAN=docbook2man"
|
|
];
|
|
|
|
XML_CATALOG_FILES = "${docbook_xml_dtd_45}/xml/dtd/docbook/catalog.xml";
|
|
|
|
nativeBuildInputs = [ pkgconfig docbook2x flex bison ];
|
|
buildInputs = [ libmnl libnftnl gmp readline ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "The project that aims to replace the existing {ip,ip6,arp,eb}tables framework";
|
|
homepage = http://netfilter.org/projects/nftables;
|
|
license = licenses.gpl2;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ wkennington ];
|
|
};
|
|
}
|