summaryrefslogtreecommitdiff
path: root/gnu/packages/python-web.scm
diff options
context:
space:
mode:
authorpinoaffe@airmail.cc <pinoaffe@airmail.cc>2020-11-22 19:15:13 +0000
committerChristopher Baines <mail@cbaines.net>2020-11-28 13:09:08 +0000
commit9e2669690c80dc00973859edf732964f0a514d7b (patch)
tree44f4798c8b5f5fef1be6951a51d6fb334f27ff8c /gnu/packages/python-web.scm
parent466a9de119886cd94eefad1bac4b441358d76ad7 (diff)
gnu: Add python-flask-session.
* gnu/packages/python-web.scm (python-flask-session): New variable. Signed-off-by: Christopher Baines <mail@cbaines.net>
Diffstat (limited to 'gnu/packages/python-web.scm')
-rw-r--r--gnu/packages/python-web.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 5cb974ddc1..c1de44facd 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -1010,6 +1010,30 @@ Origin Resource Sharing}, making cross-origin AJAX possible.")
into Jinja2 by default.")
(license license:bsd-3)))
+(define-public python-flask-session
+ (package
+ (name "python-flask-session")
+ (version "0.3.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "Flask-Session" version))
+ (sha256
+ (base32
+ "08s4msg8jzb8vgb9bd491zvrzhrdldxdw6vimb0kx5kgy2xy4s07"))))
+ (build-system python-build-system)
+ (arguments
+ '(#:tests? #f)) ; Tests require the various storage backends to be present
+ (propagated-inputs
+ `(("python-flask" ,python-flask)))
+ (home-page "https://github.com/fengsp/flask-session")
+ (synopsis "Adds server-side session support to your Flask application")
+ (description
+ "Flask-Session is an extension for Flask that adds support for
+Server-side sessions, with a variety of different backends for session
+storage.")
+ (license license:bsd-3)))
+
(define-public python-html5lib
(package
(name "python-html5lib")