[bug#74393,v2,1/2] gnu: Add perl-unicode-eastasianwidth.

Message ID 20241219151042.3949-1-gemmaro.dev@gmail.com
State New
Headers
Series [bug#74393,v2,1/2] gnu: Add perl-unicode-eastasianwidth. |

Commit Message

gemmaro Dec. 19, 2024, 3:10 p.m. UTC
  * gnu/packages/perl.scm (perl-unicode-eastasianwidth): New variable.

Change-Id: I3b9eb2a15bf77aa64109dbd2836ac1d71aa509f0
---
 gnu/packages/perl.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
  

Patch

diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 702369caf7..382a1d3e61 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -11926,6 +11926,27 @@  (define-public perl-unicode-collate
     ;; license.
     (license (list (package-license perl) license:expat))))
 
+(define-public perl-unicode-eastasianwidth
+  (package
+    (name "perl-unicode-eastasianwidth")
+    (version "12.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "mirror://cpan/authors/id/A/AU/AUDREYT/Unicode-EastAsianWidth-"
+             version ".tar.gz"))
+       (sha256
+        (base32 "1x0gm5akah6x1ypykipywlm2hi95mhqjrnipc5zggragdj9gsnra"))))
+    (build-system perl-build-system)
+    (home-page "https://metacpan.org/release/Unicode-EastAsianWidth")
+    (synopsis "East Asian Width properties")
+    (description
+     "This module provides user-defined Unicode properties that deal with width
+status of East Asian characters, as specified in
+@url{https://www.unicode.org/reports/tr11/,UnicodeĀ® Standard Annex #11}.")
+    (license license:cc0)))
+
 (define-public perl-unicode-linebreak
   (package
     (name "perl-unicode-linebreak")