nixpkgs/pkgs/development/python-modules/flask-compress/default.nix
Frederik Rietdijk 67651d80bc Merge pull request #28884 from FRidh/python-fixes
Python: several fixes
2017-09-06 13:54:10 +02:00

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;
};
}