python3Packages.pyroute2: add pythonImportsCheck
This commit is contained in:
parent
223cfe967c
commit
54ecd5246d
@ -1,4 +1,7 @@
|
|||||||
{lib, buildPythonPackage, fetchPypi}:
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pyroute2";
|
pname = "pyroute2";
|
||||||
@ -9,14 +12,16 @@ buildPythonPackage rec {
|
|||||||
sha256 = "sha256-CKxAytUsC7Lg8gCHUgWZqpH8zgsiHdJukEIzBCiBC8U=";
|
sha256 = "sha256-CKxAytUsC7Lg8gCHUgWZqpH8zgsiHdJukEIzBCiBC8U=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# requires root priviledges
|
# Requires root privileges, https://github.com/svinota/pyroute2/issues/778
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "pyroute2" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Python Netlink library";
|
description = "Python Netlink library";
|
||||||
homepage = "https://github.com/svinota/pyroute2";
|
homepage = "https://github.com/svinota/pyroute2";
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
maintainers = [maintainers.mic92];
|
maintainers = with maintainers; [ mic92 ];
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user