diff options
author | ajs124 <ajs124@users.noreply.github.com> | 2023-07-17 19:32:14 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-17 19:32:14 +0200 |
commit | 342e6c6bff00dcaae7f1c075c37da3848fa5b0c6 (patch) | |
tree | 98a0db65f7630489579b91068be7ad384ba41b28 /pkgs/os-specific/linux/nftables | |
parent | 1733d8032aa620b7b6eae67cc8aa53747c7b905c (diff) | |
download | nixpkgs-342e6c6bff00dcaae7f1c075c37da3848fa5b0c6.tar nixpkgs-342e6c6bff00dcaae7f1c075c37da3848fa5b0c6.tar.gz nixpkgs-342e6c6bff00dcaae7f1c075c37da3848fa5b0c6.tar.bz2 nixpkgs-342e6c6bff00dcaae7f1c075c37da3848fa5b0c6.tar.lz nixpkgs-342e6c6bff00dcaae7f1c075c37da3848fa5b0c6.tar.xz nixpkgs-342e6c6bff00dcaae7f1c075c37da3848fa5b0c6.tar.zst nixpkgs-342e6c6bff00dcaae7f1c075c37da3848fa5b0c6.zip |
nftables: 1.0.7 -> 1.0.8 (#243985)
https://www.spinics.net/lists/netfilter/msg61165.html
Diffstat (limited to 'pkgs/os-specific/linux/nftables')
-rw-r--r-- | pkgs/os-specific/linux/nftables/default.nix | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/pkgs/os-specific/linux/nftables/default.nix b/pkgs/os-specific/linux/nftables/default.nix index 26c7b6a9ea3..f91dc84d218 100644 --- a/pkgs/os-specific/linux/nftables/default.nix +++ b/pkgs/os-specific/linux/nftables/default.nix @@ -4,17 +4,18 @@ , gmp, jansson, libedit , autoreconfHook , withDebugSymbols ? false -, withPython ? false , python3 -, withXtables ? true , iptables +, withPython ? false, python3 +, withXtables ? true, iptables +, nixosTests }: stdenv.mkDerivation rec { - version = "1.0.7"; + version = "1.0.8"; pname = "nftables"; src = fetchurl { url = "https://netfilter.org/projects/nftables/files/${pname}-${version}.tar.xz"; - hash = "sha256-wSrJQf/5ra7fFzZ9XOITeJuYoNMUJ3vCKz1x4QiR9BI="; + hash = "sha256-k3N0DeQagtvJiBjgpGoHP664qNBon6T6GnQ5nDK/PVA="; }; nativeBuildInputs = [ @@ -27,7 +28,10 @@ stdenv.mkDerivation rec { libmnl libnftnl libpcap gmp jansson libedit ] ++ lib.optional withXtables iptables - ++ lib.optional withPython python3; + ++ lib.optionals withPython [ + python3 + python3.pkgs.setuptools + ]; configureFlags = [ "--with-json" @@ -37,6 +41,11 @@ stdenv.mkDerivation rec { ++ lib.optional withPython "--enable-python" ++ lib.optional withXtables "--with-xtables"; + passthru.tests = { + inherit (nixosTests) firewall-nftables lxd-nftables; + nat = { inherit (nixosTests.nat.nftables) firewall standalone; }; + }; + meta = with lib; { description = "The project that aims to replace the existing {ip,ip6,arp,eb}tables framework"; homepage = "https://netfilter.org/projects/nftables/"; |