2021-01-25 08:26:54 +00:00
|
|
|
{ lib, fetchPypi, buildPythonPackage, isPy27 }:
|
2018-01-20 10:51:59 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "whitenoise";
|
2020-08-16 18:31:20 +01:00
|
|
|
version = "5.2.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-08-16 18:31:20 +01:00
|
|
|
sha256 = "05ce0be39ad85740a78750c86a93485c40f08ad8c62a6006de0233765996e5c7";
|
2018-01-20 10:51:59 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# No tests
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-01-20 10:51:59 +00:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|