3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/flask-compress/default.nix
2020-06-11 14:28:50 +02:00

22 lines
508 B
Nix

{ stdenv, fetchPypi, buildPythonPackage, flask
, brotli
}:
buildPythonPackage rec {
version = "1.5.0";
pname = "Flask-Compress";
src = fetchPypi {
inherit pname version;
sha256 = "f367b2b46003dd62be34f7fb1379938032656dca56377a9bc90e7188e4289a7c";
};
propagatedBuildInputs = [ flask brotli ];
meta = with stdenv.lib; {
description = "Compress responses in your Flask app with gzip";
homepage = "https://libwilliam.github.io/flask-compress/";
license = licenses.mit;
};
}