nixpkgs/pkgs/development/python-modules/flask-compress/default.nix
2021-01-25 18:31:47 +01:00

22 lines
498 B
Nix

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