Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at release-19.03 29 lines 592 B view raw
1{ stdenv 2, buildPythonPackage 3, fetchPypi 4, python 5}: 6 7buildPythonPackage rec { 8 version = "1.4"; 9 pname = "progress"; 10 11 src = fetchPypi { 12 inherit pname version; 13 sha256 = "5e2f9da88ed8236a76fffbee3ceefd259589cf42dfbc2cec2877102189fae58a"; 14 }; 15 16 # tests not packaged with pypi release 17 doCheck = false; 18 19 checkPhase = '' 20 ${python.interpreter} test_progress.py 21 ''; 22 23 meta = with stdenv.lib; { 24 homepage = https://github.com/verigak/progress/; 25 description = "Easy to use progress bars"; 26 license = licenses.mit; 27 maintainers = [ maintainers.costrouc ]; 28 }; 29}