guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 5f792b344e84a90bc0efea3d470357cf60daf650
Author: Giacomo Leidi <[email protected]>
AuthorDate: Mon Sep 15 11:16:44 2025 +0200

    gnu: Add elixir-ucwidth.
    
    * gnu/packages/elixir-xyz.scm (elixir-ucwidth): New variable.
    
    Change-Id: Idb14e75beb800d913b5c8e9c52914db4f3e4ad25
    Signed-off-by: Ludovic Courtès <[email protected]>
---
 gnu/packages/elixir-xyz.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/elixir-xyz.scm b/gnu/packages/elixir-xyz.scm
index cdf4dd0ad5..90c9287127 100644
--- a/gnu/packages/elixir-xyz.scm
+++ b/gnu/packages/elixir-xyz.scm
@@ -818,6 +818,28 @@ functional way.")
     (home-page "https://hexdocs.pm/traverse/";)
     (license license:asl2.0)))
 
+(define-public elixir-ucwidth
+  (package
+    (name "elixir-ucwidth")
+    (version "0.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (hexpm-uri "ucwidth" version))
+       (sha256
+        (base32 "1gsmfcbrdfa00czm8870pr3kc34wvnisyg7c5gxi3swfidwx3vy1"))))
+    (build-system mix-build-system)
+    (arguments
+     ;; Tests depend on elixir-quixir which is not packaged yet.
+     (list #:tests? #f))
+    (synopsis
+     "Port of ucwidth from C to Elixir")
+    (description
+     "This package provides a port of ucwidth from C to Elixir, for 
determining the
+width (full-width or half-width) of an Unicode character.")
+    (home-page "https://hexdocs.pm/ucwidth/";)
+    (license license:expat)))
+
 (define-public elixir-verbs
   (package
     (name "elixir-verbs")

Reply via email to