2021-01-25 08:26:54 +00:00
|
|
|
{ lib, fetchPypi, buildPythonPackage, flask
|
2020-06-11 13:28:50 +01:00
|
|
|
, brotli
|
|
|
|
}:
|
2017-09-05 10:16:41 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2021-02-18 02:23:41 +00:00
|
|
|
version = "1.9.0";
|
2017-09-05 10:16:41 +01:00
|
|
|
pname = "Flask-Compress";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-02-18 02:23:41 +00:00
|
|
|
sha256 = "d93edd8fc02ae74b73c3df10a8e7ee26dee489c65dedce0b3a1d2ce05ac3d1be";
|
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
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2017-09-05 10:16:41 +01:00
|
|
|
description = "Compress responses in your Flask app with gzip";
|
|
|
|
homepage = "https://libwilliam.github.io/flask-compress/";
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|