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 {
|
||||
pname = "pyroute2";
|
||||
@ -9,14 +12,16 @@ buildPythonPackage rec {
|
||||
sha256 = "sha256-CKxAytUsC7Lg8gCHUgWZqpH8zgsiHdJukEIzBCiBC8U=";
|
||||
};
|
||||
|
||||
# requires root priviledges
|
||||
# Requires root privileges, https://github.com/svinota/pyroute2/issues/778
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "pyroute2" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python Netlink library";
|
||||
homepage = "https://github.com/svinota/pyroute2";
|
||||
license = licenses.asl20;
|
||||
maintainers = [maintainers.mic92];
|
||||
maintainers = with maintainers; [ mic92 ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user