2021-06-04 09:07:49 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pyroute2-core
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pyroute2-ndb";
|
2021-06-28 23:13:55 +00:00
|
|
|
version = "0.6.4";
|
2021-06-04 09:07:49 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
pname = "pyroute2.ndb";
|
|
|
|
inherit version;
|
2021-06-28 23:13:55 +00:00
|
|
|
sha256 = "0q3py2n6w7nhdxi4l6vx8xpxh5if6hav4lcl5nwk8c4pgcrfd4vn";
|
2021-06-04 09:07:49 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|