summaryrefslogtreecommitdiff
path: root/gnu/packages/python-web.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/python-web.scm')
-rw-r--r--gnu/packages/python-web.scm50
1 files changed, 50 insertions, 0 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index c0ed57e481..f97e6a12e3 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -984,6 +984,56 @@ both of which are installed automatically if you install this library.")
Origin Resource Sharing}, making cross-origin AJAX possible.")
(license license:expat)))
+(define-public python-flask-markdown
+ (package
+ (name "python-flask-markdown")
+ (version "0.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "Flask-Markdown" version))
+ (sha256
+ (base32
+ "0l32ikv4f7va926jlq4f7gx0xid247bhlxl6bd9av5dk8ljz1hyq"))))
+ (build-system python-build-system)
+ (arguments
+ '(#:tests? #f)) ; Tests seem to be incompatible with latest python
+ (propagated-inputs
+ `(("python-markdown" ,python-markdown)
+ ("python-flask" ,python-flask)))
+ (native-inputs
+ `(("python-nose" ,python-nose)))
+ (home-page "https://github.com/dcolish/flask-markdown")
+ (synopsis "Small extension to help with using Markdown in Flask")
+ (description
+ "Flask-Markdown supports several extensions for Markdown and integrates
+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")