forked from mirrors/nixpkgs
python3Packages.pyairvisual: add pythonImportsCheck and update pytestFlagsArray
This commit is contained in:
parent
ac50b98e2b
commit
dc7bca1a32
|
@ -43,13 +43,13 @@ buildPythonPackage rec {
|
|||
pytestCheckHook
|
||||
];
|
||||
|
||||
pytestFlagsArray = [
|
||||
"tests"
|
||||
];
|
||||
# Ignore the examples as they are prefixed with test_
|
||||
pytestFlagsArray = [ "--ignore examples/" ];
|
||||
pythonImportsCheck = [ "pyairvisual" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A simple, clean, well-tested Python library for interacting with AirVisual©";
|
||||
license = licenses.mit;
|
||||
license = licenses.mit;
|
||||
homepage = "https://github.com/bachya/pyairvisual";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue