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

21 lines
512 B
Nix
Raw Normal View History

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