python3Packages.tqdm: fix build
This commit is contained in:
parent
db417d32e8
commit
fe20e43910
@ -5,6 +5,8 @@
|
|||||||
, coverage
|
, coverage
|
||||||
, glibcLocales
|
, glibcLocales
|
||||||
, flake8
|
, flake8
|
||||||
|
, setuptools_scm
|
||||||
|
, pytestCheckHook
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
@ -16,20 +18,18 @@ buildPythonPackage rec {
|
|||||||
sha256 = "5c0d04e06ccc0da1bd3fa5ae4550effcce42fcad947b4a6cafa77bdc9b09ff22";
|
sha256 = "5c0d04e06ccc0da1bd3fa5ae4550effcce42fcad947b4a6cafa77bdc9b09ff22";
|
||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [ nose coverage glibcLocales flake8 ];
|
nativeBuildInputs = [
|
||||||
|
setuptools_scm
|
||||||
|
];
|
||||||
|
|
||||||
postPatch = ''
|
checkInputs = [ nose coverage glibcLocales flake8 pytestCheckHook ];
|
||||||
# Remove performance testing.
|
|
||||||
# Too sensitive for on Hydra.
|
# Remove performance testing.
|
||||||
rm tqdm/tests/tests_perf.py
|
# Too sensitive for on Hydra.
|
||||||
'';
|
PYTEST_ADDOPTS = "-k \"not perf\"";
|
||||||
|
|
||||||
LC_ALL="en_US.UTF-8";
|
LC_ALL="en_US.UTF-8";
|
||||||
|
|
||||||
# doCheck = !stdenv.isDarwin;
|
|
||||||
# Test suite is too big and slow.
|
|
||||||
doCheck = false;
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "A Fast, Extensible Progress Meter";
|
description = "A Fast, Extensible Progress Meter";
|
||||||
homepage = "https://github.com/tqdm/tqdm";
|
homepage = "https://github.com/tqdm/tqdm";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user