nixpkgs/pkgs/development/python-modules/flask-compress/default.nix
2021-06-22 13:42:27 +02:00

22 lines
499 B
Nix

{ lib, fetchPypi, buildPythonPackage, flask
, brotli
}:
buildPythonPackage rec {
version = "1.10.1";
pname = "Flask-Compress";
src = fetchPypi {
inherit pname version;
sha256 = "28352387efbbe772cfb307570019f81957a13ff718d994a9125fa705efb73680";
};
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;
};
}