1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-11 23:24:35 +00:00
nixpkgs/pkgs/os-specific/linux/nftables/default.nix
R. RyanTM d9cc753a9d nftables: 0.8.3 -> 0.8.5 (#41288)
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/nftables/versions.

These checks were done:

- built on NixOS
- /nix/store/k4gbg52hrir6j4krsa3iky2phrbaqail-nftables-0.8.5/bin/nft passed the binary check.
- 1 of 1 passed binary check by having a zero exit code.
- 0 of 1 passed binary check by having the new version present in output.
- found 0.8.5 with grep in /nix/store/k4gbg52hrir6j4krsa3iky2phrbaqail-nftables-0.8.5
- directory tree listing: https://gist.github.com/c51183f763d8d6799836191579a6121e
- du listing: https://gist.github.com/14256ccb73b20c829e35302dbd31c12a
2018-06-01 22:46:29 +02:00

31 lines
920 B
Nix

{ stdenv, fetchurl, pkgconfig, docbook2x, docbook_xml_dtd_45
, flex, bison, libmnl, libnftnl, gmp, readline }:
stdenv.mkDerivation rec {
version = "0.8.5";
name = "nftables-${version}";
src = fetchurl {
url = "http://netfilter.org/projects/nftables/files/${name}.tar.bz2";
sha256 = "08z3xaxdryi0i9gcfifs77c96xs8ljynkr2hbfgf3w67l60az6wf";
};
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 ];
};
}