1{ lib
2, python
3, buildPythonPackage
4, fetchPypi
5, python-utils
6}:
7
8buildPythonPackage rec {
9 pname = "progressbar2";
10 version = "3.55.0";
11
12 src = fetchPypi {
13 inherit pname version;
14 sha256 = "86835d1f1a9317ab41aeb1da5e4184975e2306586839d66daf63067c102f8f04";
15 };
16
17 propagatedBuildInputs = [ python-utils ];
18
19 # depends on unmaintained pytest-pep8
20 # https://github.com/WoLpH/python-progressbar/issues/241
21 doCheck = false;
22
23 pythonImportsCheck = [ "progressbar" ];
24
25 meta = with lib; {
26 homepage = "https://progressbar-2.readthedocs.io/en/latest/";
27 description = "Text progressbar library for python";
28 license = licenses.bsd3;
29 maintainers = with maintainers; [ ashgillman turion ];
30 };
31}