2019-12-22 19:34:59 +00:00
|
|
|
{ stdenv, fetchPypi, buildPythonPackage, isPy27 }:
|
2018-01-20 10:51:59 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "whitenoise";
|
2020-06-06 07:47:37 +01:00
|
|
|
version = "5.1.0";
|
2019-12-22 19:34:59 +00:00
|
|
|
disabled = isPy27;
|
2018-01-20 10:51:59 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-06-06 07:47:37 +01:00
|
|
|
sha256 = "60154b976a13901414a25b0273a841145f77eb34a141f9ae032a0ace3e4d5b27";
|
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;
|
|
|
|
};
|
|
|
|
}
|