all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Frederick Muriithi <fredmanglis@gmail.com>
To: guix-devel@gnu.org
Subject: [PATCH] gnu: Add python-rst2ansi
Date: Sat, 4 Feb 2017 15:02:27 +0300	[thread overview]
Message-ID: <CALjrZwaR_F1T7rt-w-S-kVWEQWZOqUwBV=aiMh0Sk++X3Z4c7Q@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 68 bytes --]

This patch adds a new package definition

-- 
Frederick M. Muriithi

[-- Attachment #2: 0001-gnu-Add-python-rst2ansi.patch --]
[-- Type: text/x-patch, Size: 1605 bytes --]

From 4281e590bce3bb1d28afb2a0cc97d5e56fc231d8 Mon Sep 17 00:00:00 2001
From: Muriithi Frederick Muriuki <fredmanglis@gmail.com>
Date: Sat, 4 Feb 2017 14:16:10 +0300
Subject: [PATCH] gnu: Add python-rst2ansi

* gnu/packages/python.scm: New variable
---
 gnu/packages/python.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index d53eea1..53d9c78 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -12536,3 +12536,30 @@ 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 (string-append
+             "https://pypi.python.org/packages/3c/19/b29bc04524e7d1dbde13272fbb67e45a8eb2"
+             "4bb6d112cf10c46162b350d7/rst2ansi-"
+             version
+             ".tar.gz"))
+       (sha256
+        (base32
+         "0vzy6gd60l79ff750scl0sz48r1laalkl6md6dwzah4dcadgn5qv"))))
+    (build-system python-build-system)
+    (native-inputs
+     `(("python-docutils" ,python-docutils)))
+    (home-page
+     "https://github.com/Snaipe/python-rst-to-ansi")
+    (synopsis
+     "Python rst converter 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)))
-- 
2.1.4


             reply	other threads:[~2017-02-04 12:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-04 12:02 Frederick Muriithi [this message]
2017-02-04 13:51 ` [PATCH] gnu: Add python-rst2ansi Hartmut Goebel
2017-02-07 18:03 ` Frederick Muriithi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CALjrZwaR_F1T7rt-w-S-kVWEQWZOqUwBV=aiMh0Sk++X3Z4c7Q@mail.gmail.com' \
    --to=fredmanglis@gmail.com \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.