2019-12-22 19:34:59 +00:00
|
|
|
{ stdenv, fetchPypi, buildPythonPackage, isPy27 }:
|
2018-01-20 10:51:59 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "whitenoise";
|
2019-12-19 19:31:25 +00:00
|
|
|
version = "5.0.1";
|
2019-12-22 19:34:59 +00:00
|
|
|
disabled = isPy27;
|
2018-01-20 10:51:59 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-12-19 19:31:25 +00:00
|
|
|
sha256 = "0f9137f74bd95fa54329ace88d8dc695fbe895369a632e35f7a136e003e41d73";
|
2018-01-20 10:51:59 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# No tests
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Radically simplified static file serving for WSGI applications";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://whitenoise.evans.io/";
|
2018-01-20 10:51:59 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|