guix-commits
[Top][All Lists]
Advanced

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

01/03: gnu: Add python-cwcwidth.


From: guix-commits
Subject: 01/03: gnu: Add python-cwcwidth.
Date: Mon, 16 Aug 2021 03:05:23 -0400 (EDT)

mothacehe pushed a commit to branch core-updates-frozen
in repository guix.

commit 011862f5ff680db9abcdf918cff3a513712b64c2
Author: Mathieu Othacehe <othacehe@gnu.org>
AuthorDate: Mon Aug 16 09:01:19 2021 +0200

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

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index c8b3777..9fdd133 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -26143,3 +26143,28 @@ supports x86_64 instructions up to AVX-512 and SHA.")
       (description "This package is a port of sgmllib that is no longer part
 of Python 3.")
       (license license:bsd-3))))
+
+(define-public python-cwcwidth
+  (package
+    (name "python-cwcwidth")
+    (version "0.1.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "cwcwidth" version))
+       (sha256
+        (base32
+         "1azrphpkcyggg38xvkfb9dpc4xmmm90p02kf8dkqd4d6j5w96aj8"))))
+    (build-system python-build-system)
+    (native-inputs
+     `(("python-cython" ,python-cython)
+       ("python-pytest" ,python-pytest)
+       ("python-setuptools-scm" ,python-setuptools-scm)
+       ("python-toml" ,python-toml)
+       ("python-wheel" ,python-wheel)))
+    (home-page
+     "https://github.com/sebastinas/cwcwidth";)
+    (synopsis "Python bindings for wc(s)width")
+    (description "This package provides bindings for wcwidth and wcswidth
+functions defined in POSIX.1-2001 and POSIX.1-2008.")
+    (license license:expat)))



reply via email to

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