python3Packages.tqdm: fix build

This commit is contained in:
Frederik Rietdijk 2020-11-30 18:05:40 +01:00
parent db417d32e8
commit fe20e43910

View File

@ -5,6 +5,8 @@
, coverage
, glibcLocales
, flake8
, setuptools_scm
, pytestCheckHook
}:
buildPythonPackage rec {
@ -16,20 +18,18 @@ 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 ];
# Remove performance testing.
# Too sensitive for on Hydra.
PYTEST_ADDOPTS = "-k \"not perf\"";
LC_ALL="en_US.UTF-8";
# doCheck = !stdenv.isDarwin;
# Test suite is too big and slow.
doCheck = false;
meta = {
description = "A Fast, Extensible Progress Meter";
homepage = "https://github.com/tqdm/tqdm";