2020-06-11 13:28:50 +01:00
|
|
|
{ stdenv, fetchPypi, buildPythonPackage, flask
|
|
|
|
, brotli
|
|
|
|
}:
|
2017-09-05 10:16:41 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2020-06-06 07:47:07 +01:00
|
|
|
version = "1.5.0";
|
2017-09-05 10:16:41 +01:00
|
|
|
pname = "Flask-Compress";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-06-06 07:47:07 +01:00
|
|
|
sha256 = "f367b2b46003dd62be34f7fb1379938032656dca56377a9bc90e7188e4289a7c";
|
2017-09-05 10:16:41 +01:00
|
|
|
};
|
|
|
|
|
2020-06-11 13:28:50 +01:00
|
|
|
propagatedBuildInputs = [ flask brotli ];
|
2017-09-05 10:16:41 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Compress responses in your Flask app with gzip";
|
|
|
|
homepage = "https://libwilliam.github.io/flask-compress/";
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|