pythonPackages.progressbar2: Fix checkPhase

This commit is contained in:
Manuel Bärenz 2020-06-25 15:36:07 +02:00
parent 80b6b9b706
commit b79c4eca5c

View file

@ -29,10 +29,10 @@ buildPythonPackage rec {
pytest sphinx flake8 pytestpep8 pytest-flakes pytestcov
pytestcache freezegun
];
# ignore tests on the nix wrapped setup.py and don't flake .eggs directory
# ignore tests on the nix wrapped setup.py
checkPhase = ''
runHook preCheck
${python.interpreter} setup.py test --addopts "--ignore=.eggs"
${python.interpreter} setup.py test
runHook postCheck
'';
@ -40,6 +40,6 @@ buildPythonPackage rec {
homepage = "https://progressbar-2.readthedocs.io/en/latest/";
description = "Text progressbar library for python";
license = licenses.bsd3;
maintainers = with maintainers; [ ashgillman ];
maintainers = with maintainers; [ ashgillman turion ];
};
}