nixpkgs/pkgs/development/python-modules/flask-compress/default.nix

22 lines
508 B
Nix
Raw Normal View History

2020-06-11 13:28:50 +01:00
{ stdenv, fetchPypi, buildPythonPackage, flask
, brotli
}:
buildPythonPackage rec {
2020-06-06 07:47:07 +01:00
version = "1.5.0";
pname = "Flask-Compress";
src = fetchPypi {
inherit pname version;
2020-06-06 07:47:07 +01:00
sha256 = "f367b2b46003dd62be34f7fb1379938032656dca56377a9bc90e7188e4289a7c";
};
2020-06-11 13:28:50 +01:00
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;
};
}