Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 21 lines 498 B view raw
1{ lib, fetchPypi, buildPythonPackage, flask 2, brotli 3}: 4 5buildPythonPackage rec { 6 version = "1.9.0"; 7 pname = "Flask-Compress"; 8 9 src = fetchPypi { 10 inherit pname version; 11 sha256 = "d93edd8fc02ae74b73c3df10a8e7ee26dee489c65dedce0b3a1d2ce05ac3d1be"; 12 }; 13 14 propagatedBuildInputs = [ flask brotli ]; 15 16 meta = with 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}