guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/02: gnu: Add python-flask-markdown.


From: guix-commits
Subject: 01/02: gnu: Add python-flask-markdown.
Date: Sat, 28 Nov 2020 08:09:35 -0500 (EST)

cbaines pushed a commit to branch master
in repository guix.

commit 466a9de119886cd94eefad1bac4b441358d76ad7
Author: pinoaffe@airmail.cc <pinoaffe@airmail.cc>
AuthorDate: Sun Nov 22 17:55:11 2020 +0000

    gnu: Add python-flask-markdown.
    
    * gnu/packages/python-web.scm (python-flask-markdown): New variable.
    
    Signed-off-by: Christopher Baines <mail@cbaines.net>
---
 gnu/packages/python-web.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index f5ffc2e..5cb974d 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -984,6 +984,32 @@ 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-html5lib
   (package
     (name "python-html5lib")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]