guix-patches
[Top][All Lists]
Advanced

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

bug#25808: [PATCH 3/8] gnu: Add python-m2r.


From: Troy Sankey
Subject: bug#25808: [PATCH 3/8] gnu: Add python-m2r.
Date: Tue, 21 Feb 2017 14:18:29 -0500

* gnu/packages/python.scm (python-m2r, python2-m2r): New variables.
---
 gnu/packages/python.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 9d2b977a7..4e87e3867 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -12709,6 +12709,30 @@ Python.  It is based on Parsing Expression Grammars, 
PEG.  With pyPEG you can
 parse many formal languages.")
     (license license:gpl2)))
 
+(define-public python-m2r
+  (package
+    (name "python-m2r")
+    (version "0.1.5")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "m2r" version))
+        (sha256
+          (base32
+            "08rjn3x1qag60wawjnq95wmgijrn33apr4fhj01s2p6hmrqgfj1l"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-docutils" ,python-docutils)
+       ("python-mistune" ,python-mistune)))
+    (home-page "https://github.com/miyakogi/m2r";)
+    (synopsis "Markdown to reStructuredText converter")
+    (description "M2R converts a markdown file including reST markups to a
+valid reST format.")
+    (license license:expat)))
+
+(define-public python2-m2r
+  (package-with-python2 python-m2r))
+
 (define-public python-constantly
   (package
     (name "python-constantly")
-- 
2.11.1






reply via email to

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