2021-01-25 00:26:54 -08:00
|
|
|
{ lib
|
2018-01-16 18:58:27 -08:00
|
|
|
, python
|
2018-01-16 00:46:30 -08:00
|
|
|
, buildPythonPackage
|
2019-01-22 06:53:25 -08:00
|
|
|
, fetchPypi
|
2018-01-16 00:46:30 -08:00
|
|
|
, python-utils
|
|
|
|
}:
|
|
|
|
|
2018-01-16 18:58:27 -08:00
|
|
|
buildPythonPackage rec {
|
2018-01-16 00:46:30 -08:00
|
|
|
pname = "progressbar2";
|
2020-09-29 20:17:36 -07:00
|
|
|
version = "3.53.1";
|
2018-01-16 00:46:30 -08:00
|
|
|
|
2019-01-22 06:53:25 -08:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-09-29 20:17:36 -07:00
|
|
|
sha256 = "ef72be284e7f2b61ac0894b44165926f13f5d995b2bf3cd8a8dedc6224b255a7";
|
2018-01-16 00:46:30 -08:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ python-utils ];
|
2020-12-22 08:55:46 -08:00
|
|
|
|
|
|
|
# depends on unmaintained pytest-pep8
|
|
|
|
# https://github.com/WoLpH/python-progressbar/issues/241
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "progressbar" ];
|
2018-01-16 00:46:30 -08:00
|
|
|
|
2021-01-10 23:54:33 -08:00
|
|
|
meta = with lib; {
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://progressbar-2.readthedocs.io/en/latest/";
|
2018-01-16 00:46:30 -08:00
|
|
|
description = "Text progressbar library for python";
|
|
|
|
license = licenses.bsd3;
|
2020-06-25 06:36:07 -07:00
|
|
|
maintainers = with maintainers; [ ashgillman turion ];
|
2018-01-16 00:46:30 -08:00
|
|
|
};
|
2018-01-16 18:58:27 -08:00
|
|
|
}
|