diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2020-12-22 20:05:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-22 20:05:39 +0100 |
commit | 8fa21d43164067b86c5b1990a08ebe84b226d595 (patch) | |
tree | 532daaab2f0cafbe409d4b546739fe5f30431be9 | |
parent | f0bce04b9918354fb94f427dab18f98c0366677f (diff) | |
parent | 0cefcc625d0428af8fab7b3105b81a8eee7772fa (diff) |
Merge pull request #107414 from sternenseemann/progressbar2-fix
pythonPackages.progressbar2: fix build
-rw-r--r-- | pkgs/development/python-modules/progressbar2/default.nix | 25 |
1 files changed, 6 insertions, 19 deletions
diff --git a/pkgs/development/python-modules/progressbar2/default.nix b/pkgs/development/python-modules/progressbar2/default.nix index 789828b7143f..55590f8bd063 100644 --- a/pkgs/development/python-modules/progressbar2/default.nix +++ b/pkgs/development/python-modules/progressbar2/default.nix @@ -2,15 +2,7 @@ , python , buildPythonPackage , fetchPypi -, pytest , python-utils -, sphinx -, flake8 -, pytest-flakes -, pytestcov -, pytestcache -, pytestrunner -, freezegun }: buildPythonPackage rec { @@ -23,17 +15,12 @@ buildPythonPackage rec { }; propagatedBuildInputs = [ python-utils ]; - nativeBuildInputs = [ pytestrunner ]; - checkInputs = [ - pytest sphinx flake8 pytest-flakes pytestcov - pytestcache freezegun - ]; - # ignore tests on the nix wrapped setup.py - checkPhase = '' - runHook preCheck - ${python.interpreter} setup.py test - runHook postCheck - ''; + + # depends on unmaintained pytest-pep8 + # https://github.com/WoLpH/python-progressbar/issues/241 + doCheck = false; + + pythonImportsCheck = [ "progressbar" ]; meta = with stdenv.lib; { homepage = "https://progressbar-2.readthedocs.io/en/latest/"; |