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