Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.03 21 lines 502 B view raw
1{ stdenv, fetchPypi, buildPythonPackage, isPy27 }: 2 3buildPythonPackage rec { 4 pname = "whitenoise"; 5 version = "5.0.1"; 6 disabled = isPy27; 7 8 src = fetchPypi { 9 inherit pname version; 10 sha256 = "0f9137f74bd95fa54329ace88d8dc695fbe895369a632e35f7a136e003e41d73"; 11 }; 12 13 # No tests 14 doCheck = false; 15 16 meta = with stdenv.lib; { 17 description = "Radically simplified static file serving for WSGI applications"; 18 homepage = http://whitenoise.evans.io/; 19 license = licenses.mit; 20 }; 21}