diff options
author | Frederik Rietdijk <fridh@fridh.nl> | 2020-11-30 18:05:40 +0100 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2020-12-01 14:44:25 +0100 |
commit | fe20e4391074ade165eb128d164f263770c8b21d (patch) | |
tree | a1a60149d190a5c383e920b726935912e40fdab5 | |
parent | db417d32e81cd3d8e76a9e353ba6c1ff27f809c5 (diff) |
python3Packages.tqdm: fix build
-rw-r--r-- | pkgs/development/python-modules/tqdm/default.nix | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/pkgs/development/python-modules/tqdm/default.nix b/pkgs/development/python-modules/tqdm/default.nix index e956d0b65ece..5df20826dc76 100644 --- a/pkgs/development/python-modules/tqdm/default.nix +++ b/pkgs/development/python-modules/tqdm/default.nix @@ -5,6 +5,8 @@ , coverage , glibcLocales , flake8 +, setuptools_scm +, pytestCheckHook }: buildPythonPackage rec { @@ -16,19 +18,17 @@ buildPythonPackage rec { sha256 = "5c0d04e06ccc0da1bd3fa5ae4550effcce42fcad947b4a6cafa77bdc9b09ff22"; }; - checkInputs = [ nose coverage glibcLocales flake8 ]; + nativeBuildInputs = [ + setuptools_scm + ]; - postPatch = '' - # Remove performance testing. - # Too sensitive for on Hydra. - rm tqdm/tests/tests_perf.py - ''; + checkInputs = [ nose coverage glibcLocales flake8 pytestCheckHook ]; - LC_ALL="en_US.UTF-8"; + # Remove performance testing. + # Too sensitive for on Hydra. + PYTEST_ADDOPTS = "-k \"not perf\""; -# doCheck = !stdenv.isDarwin; - # Test suite is too big and slow. - doCheck = false; + LC_ALL="en_US.UTF-8"; meta = { description = "A Fast, Extensible Progress Meter"; |