python3Packages.pyroute2-ipset: init at 0.6.1

This commit is contained in:
Fabian Affolter 2021-05-22 22:04:11 +02:00
parent 2ef07d23b3
commit c64126b658
2 changed files with 37 additions and 0 deletions

View file

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

View file

@ -6168,6 +6168,8 @@ in {
pyroute2-ipdb = callPackage ../development/python-modules/pyroute2-ipdb { };
pyroute2-ipset = callPackage ../development/python-modules/pyroute2-ipset { };
pyrr = callPackage ../development/python-modules/pyrr { };
pyrsistent = callPackage ../development/python-modules/pyrsistent { };