Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09-beta 21 lines 508 B view raw
1{ stdenv, fetchPypi, buildPythonPackage, flask 2, brotli 3}: 4 5buildPythonPackage rec { 6 version = "1.5.0"; 7 pname = "Flask-Compress"; 8 9 src = fetchPypi { 10 inherit pname version; 11 sha256 = "f367b2b46003dd62be34f7fb1379938032656dca56377a9bc90e7188e4289a7c"; 12 }; 13 14 propagatedBuildInputs = [ flask brotli ]; 15 16 meta = with stdenv.lib; { 17 description = "Compress responses in your Flask app with gzip"; 18 homepage = "https://libwilliam.github.io/flask-compress/"; 19 license = licenses.mit; 20 }; 21}