forked from mirrors/nixpkgs
67651d80bc
Python: several fixes
21 lines
512 B
Nix
21 lines
512 B
Nix
{ 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;
|
|
};
|
|
}
|