python3Packages.pyroute2-ndb: init at 0.6.1

This commit is contained in:
Fabian Affolter 2021-05-22 22:55:26 +02:00
parent 3212db058d
commit db8f095845
2 changed files with 35 additions and 0 deletions

View file

@ -0,0 +1,33 @@
{ lib
, buildPythonPackage
, fetchPypi
, pyroute2-core
}:
buildPythonPackage rec {
pname = "pyroute2-ndb";
version = "0.6.1";
src = fetchPypi {
pname = "pyroute2.ndb";
inherit version;
sha256 = "0lzvh0vva8i86h00add0b45s4f5dn6zbgysfvmzrxxasvda7fhlj";
};
propagatedBuildInputs = [
pyroute2-core
];
# pyroute2 sub-modules have no tests
doCheck = false;
pythonImportsCheck = [ "pr2modules.ndb" ];
meta = with lib; {
description = "NDB 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-ndb = callPackage ../development/python-modules/pyroute2-ndb { };
pyroute2-nftables = callPackage ../development/python-modules/pyroute2-nftables { };
pyroute2-nslink = callPackage ../development/python-modules/pyroute2-nslink { };