Patchwork [13/18] gnu: Add python-markdown-2.2.1.

login
register
mail settings
Submitter ng0
Date Oct. 2, 2016, 11 a.m.
Message ID <20161002110054.2297-14-ngillmann@runbox.com>
Download mbox | patch
Permalink /patch/16183/
State New
Headers show

Comments

ng0 - Oct. 2, 2016, 11 a.m.
* gnu/packages/python.scm (python-markdown-2.2.1): New variable.
---
 gnu/packages/python.scm | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

Patch

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 9c798d7..7637c0c 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -5588,6 +5588,24 @@  markdown_py is also provided to convert Markdown files to HTML.")
 (define-public python2-markdown
   (package-with-python2 python-markdown))
 
+;; kallithea-0.3.2 needs this
+(define-public python-markdown-2.2.1
+  (package
+    (inherit python-markdown)
+    (version "2.2.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "Markdown" version))
+       (sha256
+        (base32
+         "1dj4mgflxm1xgyxlwrpv0psv1grnvrplaz3a6glsywdbrvps3fgq"))))
+    (arguments
+     `(#:tests? #f)))) ; We would need to package some old version of nose.
+
+(define-public python2-markdown-2.2.1
+  (package-with-python2 python-markdown-2.2.1))
+
 (define-public python-ptyprocess
   (package
     (name "python-ptyprocess")