nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 31 lines 720 B view raw
1{ lib 2, python 3, buildPythonPackage 4, fetchPypi 5, python-utils 6}: 7 8buildPythonPackage rec { 9 pname = "progressbar2"; 10 version = "4.0.0"; 11 12 src = fetchPypi { 13 inherit pname version; 14 sha256 = "14d3165a1781d053ffaa117daf27cc706128d2ec1d2977fdb05b6bb079888013"; 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}