2017-04-30 21:06:38 -07:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, nose
|
|
|
|
, coverage
|
|
|
|
, glibcLocales
|
|
|
|
, flake8
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "tqdm";
|
2020-11-29 06:04:44 -08:00
|
|
|
version = "4.54.0";
|
2017-04-30 21:06:38 -07:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-11-29 06:04:44 -08:00
|
|
|
sha256 = "5c0d04e06ccc0da1bd3fa5ae4550effcce42fcad947b4a6cafa77bdc9b09ff22";
|
2017-04-30 21:06:38 -07:00
|
|
|
};
|
|
|
|
|
2019-12-15 16:20:19 -08:00
|
|
|
checkInputs = [ nose coverage glibcLocales flake8 ];
|
2017-04-30 21:06:38 -07:00
|
|
|
|
2017-11-24 23:49:32 -08:00
|
|
|
postPatch = ''
|
|
|
|
# Remove performance testing.
|
|
|
|
# Too sensitive for on Hydra.
|
|
|
|
rm tqdm/tests/tests_perf.py
|
|
|
|
'';
|
|
|
|
|
2017-04-30 21:06:38 -07:00
|
|
|
LC_ALL="en_US.UTF-8";
|
|
|
|
|
2019-02-13 23:37:31 -08:00
|
|
|
# doCheck = !stdenv.isDarwin;
|
|
|
|
# Test suite is too big and slow.
|
|
|
|
doCheck = false;
|
2018-08-16 19:10:19 -07:00
|
|
|
|
2017-04-30 21:06:38 -07:00
|
|
|
meta = {
|
|
|
|
description = "A Fast, Extensible Progress Meter";
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://github.com/tqdm/tqdm";
|
2017-04-30 21:06:38 -07:00
|
|
|
license = with lib.licenses; [ mit ];
|
|
|
|
maintainers = with lib.maintainers; [ fridh ];
|
|
|
|
};
|
|
|
|
}
|