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