11 buildPythonPackage rec {
14 format = "setuptools";
17 inherit pname version;
18 hash = "sha256-WDe1jp9uvTNbD4Bg7szmm2YkFbFtxQOIOgL0Xf6xSFc=";
21 buildInputs = [ pytest ];
23 propagatedBuildInputs = [
29 # xdist related tests fail with the following error
30 # OSError: [Errno 13] Permission denied: 'py/_code'
33 # allow to find the module helper during the test run
34 export PYTHONPATH=$PYTHONPATH:$PWD/tests
38 pythonImportsCheck = [ "pytest_cov" ];
41 description = "Plugin for coverage reporting with support for both centralised and distributed testing, including subprocesses and multiprocessing";
42 homepage = "https://github.com/pytest-dev/pytest-cov";
43 license = licenses.mit;