From 5f792b344e84a90bc0efea3d470357cf60daf650 Mon Sep 17 00:00:00 2001 From: Giacomo Leidi Date: Mon, 15 Sep 2025 11:16:44 +0200 Subject: [PATCH] gnu: Add elixir-ucwidth. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/elixir-xyz.scm (elixir-ucwidth): New variable. Change-Id: Idb14e75beb800d913b5c8e9c52914db4f3e4ad25 Signed-off-by: Ludovic Courtès --- 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 cdf4dd0ad58..90c92871277 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")