From afab4dd869c3896aedc2ea50f010f3976db7f21a Mon Sep 17 00:00:00 2001 From: Spencer Skylar Chan Date: Fri, 19 May 2023 16:42:28 -0400 Subject: gnu: whoogle-search: Update to 0.8.2. * gnu/packages/python-web.scm (whoogle-search): Update to 0.8.2. Signed-off-by: Nicolas Goaziou --- gnu/packages/python-web.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/python-web.scm') diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 6869eb0a8b8..d0ac1750391 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -4998,13 +4998,13 @@ for httplib2 transport.") (define-public whoogle-search (package (name "whoogle-search") - (version "0.8.1") + (version "0.8.2") (source (origin (method url-fetch) (uri (pypi-uri "whoogle-search" version)) (sha256 (base32 - "1kqkb23wb9a4a8zdky2066887vgv7ywhivhxi5nipkx07mf8v01k")))) + "1r6ymainwc3b8aar90b74mpnx3rsfscgzh0llwvsb03fbhiypw5g")))) (build-system pyproject-build-system) (arguments (list -- cgit v1.3 From 4181835a52c5af89aae9dfc422a4b22b1dbe7660 Mon Sep 17 00:00:00 2001 From: kiasoc5 Date: Mon, 10 Jul 2023 13:07:58 +0200 Subject: gnu: Add python-flask-compress. * gnu/packages/python-web.scm (python-flask-compress): New variable. Co-authored-by: Ricardo Wurmus --- gnu/packages/python-web.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'gnu/packages/python-web.scm') diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index d0ac1750391..8021eea830c 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -3658,6 +3658,27 @@ and Jinja2 template engine. It is called a micro framework because it does not presume or force a developer to use a particular tool or library.") (license license:bsd-3))) +(define-public python-flask-compress + (package + (name "python-flask-compress") + (version "1.13") + (source (origin + (method url-fetch) + (uri (pypi-uri "Flask-Compress" version)) + (sha256 + (base32 + "178jzz6jxlxllcjqamzh5q7ahfh90m5cl1il9vmjs3xhz65z35pf")))) + (build-system pyproject-build-system) + (propagated-inputs (list python-brotli python-flask)) + (native-inputs (list python-setuptools-scm)) + (home-page "https://github.com/colour-science/flask-compress") + (synopsis "Compress responses in a Flask app") + (description + "This package lets you compress Flask application responses and static +files with gzip, deflate or brotli. Flask-Compress both adds the various +headers required for a compressed response and compresses the response data.") + (license license:expat))) + (define-public python-flask-wtf (package (name "python-flask-wtf") -- cgit v1.3 From e3d9d896b540f82e4511f2bd6ae6373390ee2d4d Mon Sep 17 00:00:00 2001 From: kiasoc5 Date: Mon, 10 Jul 2023 13:10:34 +0200 Subject: gnu: Add python-flask-seasurf. * gnu/packages/python-web.scm (python-flask-seasurf): New variable. Co-authored-by: Ricardo Wurmus --- gnu/packages/python-web.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'gnu/packages/python-web.scm') diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 8021eea830c..61a21f9c948 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -3679,6 +3679,29 @@ files with gzip, deflate or brotli. Flask-Compress both adds the various headers required for a compressed response and compresses the response data.") (license license:expat))) +(define-public python-flask-seasurf + (package + (name "python-flask-seasurf") + (version "1.1.1") + (source (origin + (method url-fetch) + (uri (pypi-uri "Flask-SeaSurf" version)) + (sha256 + (base32 + "1aaib4n27q0f2alp87mhv3f79vg7qckp71rphbd0mb39qw470lsl")))) + (build-system pyproject-build-system) + (arguments + (list #:tests? #false)) ;there are none + (propagated-inputs (list python-flask)) + (home-page "https://github.com/maxcountryman/flask-seasurf/") + (synopsis "CSRF extension for Flask") + (description "SeaSurf is a Flask extension for preventing cross-site +request forgery (CSRF). CSRF attacks are problematic because the mechanism +they use is relatively easy to exploit. This extension attempts to aid you in +securing your application from such attacks. This extension is based on the +Django middleware.") + (license license:bsd-3))) + (define-public python-flask-wtf (package (name "python-flask-wtf") -- cgit v1.3