[bug#74393,v2,1/2] gnu: Add perl-unicode-eastasianwidth.
 
Commit Message
  
  
* gnu/packages/perl.scm (perl-unicode-eastasianwidth): New variable.
Change-Id: I3b9eb2a15bf77aa64109dbd2836ac1d71aa509f0
---
 gnu/packages/perl.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
  
 
Comments
  
  
gemmaro <gemmaro.dev@gmail.com> skribis:
> * gnu/packages/perl.scm (perl-unicode-eastasianwidth): New variable.
>
> Change-Id: I3b9eb2a15bf77aa64109dbd2836ac1d71aa509f0
[...]
> * gnu/packages/texinfo.scm (texinfo-7): Use external modules
> rather than bundled ones.
> [inputs]: Add perl-unicode-eastasianwidth, perl-text-unidecode,
> and perl-libintl-perl.
> [arguments]<#:configure-flags>: Add a phase
> to enable the use of external modules.
> <#:phases>: Add Perl modules to the PERL5LIB variable of the texi2any program
> in the wrap-program phase.
>
> Change-Id: Ife2cdec50affb5287d5ad850b0ef80c6048b4b32
Applied, thanks!
  
 
  
@@ -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")