1{ lib
2, buildPythonPackage
3, fetchPypi
4, pyroute2-core
5}:
6
7buildPythonPackage rec {
8 pname = "pyroute2-ndb";
9 version = "0.6.5";
10
11 src = fetchPypi {
12 pname = "pyroute2.ndb";
13 inherit version;
14 sha256 = "sha256-pNMJWE6e9seEKvT4MrSPxTRKsiXnDjhLrtG3/iuU2fg=";
15 };
16
17 propagatedBuildInputs = [
18 pyroute2-core
19 ];
20
21 # pyroute2 sub-modules have no tests
22 doCheck = false;
23
24 pythonImportsCheck = [ "pr2modules.ndb" ];
25
26 meta = with lib; {
27 description = "NDB module for pyroute2";
28 homepage = "https://github.com/svinota/pyroute2";
29 license = licenses.asl20;
30 maintainers = with maintainers; [ fab ];
31 platforms = platforms.unix;
32 };
33}