python3Packages.pyroute2-nslink: init at 0.6.1

This commit is contained in:
Fabian Affolter 2021-05-22 22:23:30 +02:00
parent 1587fc4b62
commit 3212db058d
2 changed files with 37 additions and 0 deletions

View file

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

View file

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