python3Packages.pyroute2-nftables: init at 0.6.1

This commit is contained in:
Fabian Affolter 2021-05-22 22:17:14 +02:00
parent c48ebb385f
commit 1587fc4b62
2 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,35 @@
{ lib
, buildPythonPackage
, fetchPypi
, pyroute2-core
}:
buildPythonPackage rec {
pname = "pyroute2-nftables";
version = "0.6.1";
src = fetchPypi {
pname = "pyroute2.nftables";
inherit version;
sha256 = "0g93jsjf77sxjxmgmd8pzy8daxnqnzp2fk9gbh9kxk1n1958p100";
};
propagatedBuildInputs = [
pyroute2-core
];
# pyroute2 sub-modules have no tests
doCheck = false;
pythonImportsCheck = [
"pr2modules.nftables"
];
meta = with lib; {
description = "Nftables module for pyroute2";
homepage = "https://github.com/svinota/pyroute2";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
platforms = platforms.unix;
};
}

View File

@ -6170,6 +6170,8 @@ in {
pyroute2-ipset = callPackage ../development/python-modules/pyroute2-ipset { };
pyroute2-nftables = callPackage ../development/python-modules/pyroute2-nftables { };
pyroute2-protocols = callPackage ../development/python-modules/pyroute2-protocols { };
pyrr = callPackage ../development/python-modules/pyrr { };