1{ lib
2, buildPythonPackage
3, fetchPypi
4, nose
5, coverage
6, glibcLocales
7, flake8
8}:
9
10buildPythonPackage rec {
11 pname = "tqdm";
12 version = "4.32.2";
13
14 src = fetchPypi {
15 inherit pname version;
16 sha256 = "25d4c0ea02a305a688e7e9c2cdc8f862f989ef2a4701ab28ee963295f5b109ab";
17 };
18
19 buildInputs = [ 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}