2021-02-05 17:12:51 +00:00
|
|
|
{ lib
|
2020-04-24 23:36:52 +00:00
|
|
|
, python
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, python-utils
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "progressbar2";
|
2021-09-18 10:52:07 +00:00
|
|
|
version = "3.53.3";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-09-18 10:52:07 +00:00
|
|
|
sha256 = "f4e1c2d48e608850c59f793d6e74ccdebbcbaac7ffe917d45e9646ec0d664d6d";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ python-utils ];
|
2020-12-25 13:55:36 +00:00
|
|
|
|
|
|
|
# depends on unmaintained pytest-pep8
|
|
|
|
# https://github.com/WoLpH/python-progressbar/issues/241
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "progressbar" ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://progressbar-2.readthedocs.io/en/latest/";
|
|
|
|
description = "Text progressbar library for python";
|
|
|
|
license = licenses.bsd3;
|
2020-07-18 16:06:22 +00:00
|
|
|
maintainers = with maintainers; [ ashgillman turion ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|