1{ lib
2, buildPythonPackage
3, fetchPypi
4, nose
5, coverage
6, glibcLocales
7, flake8
8, matplotlib
9, pandas
10}:
11
12buildPythonPackage rec {
13 pname = "tqdm";
14 version = "4.19.5";
15 name = "${pname}-${version}";
16
17 src = fetchPypi {
18 inherit pname version;
19 sha256 = "df32e6f127dc0ccbc675eadb33f749abbcb8f174c5cb9ec49c0cdb73aa737377";
20 };
21
22 buildInputs = [ nose coverage glibcLocales flake8 ];
23
24 postPatch = ''
25 # Remove performance testing.
26 # Too sensitive for on Hydra.
27 rm tqdm/tests/tests_perf.py
28 '';
29
30 LC_ALL="en_US.UTF-8";
31
32 meta = {
33 description = "A Fast, Extensible Progress Meter";
34 homepage = https://github.com/tqdm/tqdm;
35 license = with lib.licenses; [ mit ];
36 maintainers = with lib.maintainers; [ fridh ];
37 };
38}