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