summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjgart <jgart@dismail.de>2021-07-06 01:32:00 -0400
committerLudovic Courtès <ludo@gnu.org>2021-07-26 19:42:49 +0200
commit684259dfbc9b9d5ce4c82cef0c1f7ad29cec0fd6 (patch)
treefaa15540634144bc0e17c76dc8c9f3a8520b3a15
parent56de60cc27e8e9b72cf2ba3fec0d7a222704272d (diff)
gnu: Add python-flask-misaka.
* gnu/packages/python-web.scm (python-flask-misaka): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
-rw-r--r--gnu/packages/python-web.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index ecea80444e..b75cb5ddfd 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -1068,6 +1068,31 @@ Origin Resource Sharing}, making cross-origin AJAX possible.")
into Jinja2 by default.")
(license license:bsd-3)))
+(define-public python-flask-misaka
+ (package
+ (name "python-flask-misaka")
+ (version "1.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "Flask-Misaka" version))
+ (sha256
+ (base32
+ "12gm6hq3lvlj0ddw8p6lk5pky8jk3pw758ihffjl49shnnzc68zl"))))
+ (build-system python-build-system)
+ (native-inputs
+ `(("python-coverage" ,python-coverage)
+ ("python-mock" ,python-mock)))
+ (propagated-inputs
+ `(("python-flask" ,python-flask)
+ ("python-misaka" ,python-misaka)))
+ (home-page "https://github.com/singingwolfboy/flask-misaka/")
+ (synopsis "Flask interface to Misaka, a Markdown parsing library")
+ (description
+ "This package provides an interface between the Flask web framework and
+the Misaka Markdown parser.")
+ (license license:expat)))
+
(define-public python-flask-session
(package
(name "python-flask-session")