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-06-18 22:47:16 +01:00
|
|
|
version = "1.10.1";
|
2017-09-05 10:16:41 +01:00
|
|
|
pname = "Flask-Compress";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-06-18 22:47:16 +01:00
|
|
|
sha256 = "28352387efbbe772cfb307570019f81957a13ff718d994a9125fa705efb73680";
|
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;
|
|
|
|
};
|
|
|
|
}
|