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.25.0";
14
15 src = fetchPypi {
16 inherit pname version;
17 sha256 = "a3364bd83ce4777320b862e3c8a93d7da91e20a95f06ef79bed7dd71c654cafa";
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
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}