python3Packages.tqdm: fix build
This commit is contained in:
parent
db417d32e8
commit
fe20e43910
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user