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