1{ stdenv, fetchPypi, buildPythonPackage 2, psutil 3, pytest }: 4 5buildPythonPackage rec { 6 pname = "PyPrind"; 7 version = "2.11.2"; 8 9 src = fetchPypi { 10 inherit pname version; 11 sha256 = "0xg6m5hr33h9bdlrr42kc58jm2m87a9zsagy7n2m4n407d2snv64"; 12 }; 13 14 buildInputs = [ psutil ]; 15 16 checkInputs = [ pytest ]; 17 18 checkPhase = '' 19 py.test tests 20 ''; 21 22 meta = with stdenv.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}