|
|
|
@ -10,12 +10,12 @@ |
|
|
|
|
with lib; |
|
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec { |
|
|
|
|
version = "1.0.0"; |
|
|
|
|
version = "1.0.1"; |
|
|
|
|
pname = "nftables"; |
|
|
|
|
|
|
|
|
|
src = fetchurl { |
|
|
|
|
url = "https://netfilter.org/projects/nftables/files/${pname}-${version}.tar.bz2"; |
|
|
|
|
sha256 = "1x25zs2czmn14mmq1nqi4zibsvh04vqjbx5lxj42nylnmxym9gsq"; |
|
|
|
|
sha256 = "08x4xw0s5sap3q7jfr91v7mrkxrydi4dvsckw85ims0qb1ibmviw"; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
nativeBuildInputs = [ |
|
|
|
@ -35,6 +35,7 @@ stdenv.mkDerivation rec { |
|
|
|
|
|
|
|
|
|
configureFlags = [ |
|
|
|
|
"--with-json" |
|
|
|
|
"--with-cli=readline" # TODO: maybe switch to editline |
|
|
|
|
] ++ optional (!withDebugSymbols) "--disable-debug" |
|
|
|
|
++ optional (!withPython) "--disable-python" |
|
|
|
|
++ optional withPython "--enable-python" |
|
|
|
@ -45,6 +46,6 @@ stdenv.mkDerivation rec { |
|
|
|
|
homepage = "https://netfilter.org/projects/nftables/"; |
|
|
|
|
license = licenses.gpl2Only; |
|
|
|
|
platforms = platforms.linux; |
|
|
|
|
maintainers = with maintainers; [ izorkin ]; |
|
|
|
|
maintainers = with maintainers; [ izorkin ajs124 ]; |
|
|
|
|
}; |
|
|
|
|
} |
|
|
|
|