guix-commits
[Top][All Lists]
Advanced

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

03/07: gnu: Add python-rst2ansi.


From: Marius Bakke
Subject: 03/07: gnu: Add python-rst2ansi.
Date: Thu, 9 Feb 2017 17:47:47 -0500 (EST)

mbakke pushed a commit to branch master
in repository guix.

commit 1a917fc9de503d0d8b436c5c1467a34d29427178
Author: Muriithi Frederick Muriuki <address@hidden>
Date:   Thu Feb 9 20:48:32 2017 +0300

    gnu: Add python-rst2ansi.
    
    * gnu/packages/python.scm (python-rst2ansi): New variable.
    
    Signed-off-by: Marius Bakke <address@hidden>
---
 gnu/packages/python.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 5b4d2b0..a8bf99b 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -35,6 +35,7 @@
 ;;; Copyright © 2016, 2017 Tobias Geerinckx-Rice <address@hidden>
 ;;; Copyright © 2016 Thomas Danckaert <address@hidden>
 ;;; Copyright © 2017 Carlo Zancanaro <address@hidden>
+;;; Copyright © 2017 Frederick M. Muriithi <address@hidden>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -12536,3 +12537,24 @@ console.")
 This implementation is slow (hence the project name) but still useful when
 faster ones are not available.")
     (license license:asl2.0)))
+
+(define-public python-rst2ansi
+  (package
+    (name "python-rst2ansi")
+    (version "0.1.5")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "rst2ansi" version))
+       (sha256
+        (base32
+         "0vzy6gd60l79ff750scl0sz48r1laalkl6md6dwzah4dcadgn5qv"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-docutils" ,python-docutils)))
+    (home-page "https://github.com/Snaipe/python-rst-to-ansi";)
+    (synopsis "Convert RST to ANSI-decorated console output")
+    (description
+     "Python module dedicated to rendering RST (reStructuredText) documents
+to ansi-escaped strings suitable for display in a terminal.")
+    (license license:expat)))



reply via email to

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