1{ lib, fetchPypi, buildPythonPackage 2, psutil 3, pytest }: 4 5buildPythonPackage rec { 6 pname = "PyPrind"; 7 version = "2.11.3"; 8 9 src = fetchPypi { 10 inherit pname version; 11 sha256 = "e37dcab6e1a9c8e0a7f0fce65fde7a79e2deda1c75aa015910a49e2137b54cbf"; 12 }; 13 14 buildInputs = [ psutil ]; 15 16 checkInputs = [ pytest ]; 17 18 checkPhase = '' 19 py.test tests 20 ''; 21 22 meta = with lib; { 23 description = "Python Progress Bar and Percent Indicator Utility"; 24 homepage = "https://github.com/rasbt/pyprind"; 25 license = licenses.bsd3; 26 maintainers = with maintainers; [ jfrankenau ]; 27 }; 28}