all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Danny Milosavljevic <dannym+a@scratchpost.org>
To: guix-devel@gnu.org
Subject: [PATCH] gnu: Add python-wcwidth and python2-wcwidth.
Date: Sun, 12 Jun 2016 17:40:06 +0200	[thread overview]
Message-ID: <20160612174006.64cd5ff6@scratchpost.org> (raw)

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

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index b2d27ef..a35b0f6 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -9126,3 +9126,33 @@ are optionally backed by a C extension built on librdkafka.")
 
 (define-public python2-pykafka
   (package-with-python2 python-pykafka))
+
+(define-public python-wcwidth
+ (package
+  (name "python-wcwidth")
+  (version "0.1.6")
+  (source
+    (origin
+      (method url-fetch)
+      (uri (string-append
+             "https://pypi.python.org/packages/"
+             "c2/d1/7689293086a8d5320025080cde0e3155b94ae0a7496fb89a3fbaa92c354a/"
+             "wcwidth-"
+             version
+             ".tar.gz"))
+      (sha256
+        (base32
+          "02wjrpf001gjdjsaxxbzcwfg19crlk2dbddayrfc2v06f53yrcyw"))))
+  (build-system python-build-system)
+  (home-page "https://github.com/jquast/wcwidth")
+  (synopsis
+    "Measures number of Terminal column cells of wide-character codes")
+  (description
+    "Measures number of Terminal column cells of wide-character codes")
+  (license license:expat)))
+
+(define-public python2-wcwidth
+  (package
+    (inherit (package-with-python2
+              (strip-python2-variant python-wcwidth)))
+    (native-inputs `(("python2-setuptools" ,python2-setuptools)))))

             reply	other threads:[~2016-06-12 15:40 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-12 15:40 Danny Milosavljevic [this message]
2016-06-13 20:59 ` [PATCH] gnu: Add python-wcwidth and python2-wcwidth Leo Famulari
2016-06-14 12:13   ` Danny Milosavljevic
2016-06-14 13:41     ` Leo Famulari
2016-06-14 23:15       ` Danny Milosavljevic
2016-06-15  1:52         ` Leo Famulari
2016-06-15 14:45           ` Leo Famulari

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=20160612174006.64cd5ff6@scratchpost.org \
    --to=dannym+a@scratchpost.org \
    --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.