2017-05-01 05:06:38 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, nose
|
|
|
|
, coverage
|
|
|
|
, glibcLocales
|
|
|
|
, flake8
|
2020-11-30 17:05:40 +00:00
|
|
|
, setuptools_scm
|
|
|
|
, pytestCheckHook
|
2017-05-01 05:06:38 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "tqdm";
|
2020-12-22 14:11:07 +00:00
|
|
|
version = "4.54.1";
|
2017-05-01 05:06:38 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-12-22 14:11:07 +00:00
|
|
|
sha256 = "1x9chlh3msikddmq8p8p5s5kgqqs48bclxgzz3vb9ygcwjimidiq";
|
2017-05-01 05:06:38 +01:00
|
|
|
};
|
|
|
|
|
2020-11-30 17:05:40 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
setuptools_scm
|
|
|
|
];
|
2017-05-01 05:06:38 +01:00
|
|
|
|
2020-11-30 17:05:40 +00:00
|
|
|
checkInputs = [ nose coverage glibcLocales flake8 pytestCheckHook ];
|
2017-11-25 07:49:32 +00:00
|
|
|
|
2020-11-30 17:05:40 +00:00
|
|
|
# Remove performance testing.
|
|
|
|
# Too sensitive for on Hydra.
|
|
|
|
PYTEST_ADDOPTS = "-k \"not perf\"";
|
2017-05-01 05:06:38 +01:00
|
|
|
|
2020-11-30 17:05:40 +00:00
|
|
|
LC_ALL="en_US.UTF-8";
|
2018-08-17 03:10:19 +01:00
|
|
|
|
2017-05-01 05:06:38 +01:00
|
|
|
meta = {
|
|
|
|
description = "A Fast, Extensible Progress Meter";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/tqdm/tqdm";
|
2017-05-01 05:06:38 +01:00
|
|
|
license = with lib.licenses; [ mit ];
|
|
|
|
maintainers = with lib.maintainers; [ fridh ];
|
|
|
|
};
|
|
|
|
}
|