1{ lib
2, python
3, buildPythonPackage
4, fetchPypi
5, python-utils
6}:
7
8buildPythonPackage rec {
9 pname = "progressbar2";
10 version = "3.53.1";
11
12 src = fetchPypi {
13 inherit pname version;
14 sha256 = "ef72be284e7f2b61ac0894b44165926f13f5d995b2bf3cd8a8dedc6224b255a7";
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}