summary refs log tree commit diff
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2015-03-17 11:48:07 -0500
committerEric Bavier <bavier@member.fsf.org>2015-03-17 13:03:50 -0500
commitad0a50e3adc39a7f36b4d123f16654e6d8a5f9eb (patch)
treedd7e640ff77d7250e1fbafd69748178034988280
parent06f5001a5ad5d16bc52e2cbf0b929462555cb1c1 (diff)
downloadguix-ad0a50e3adc39a7f36b4d123f16654e6d8a5f9eb.tar.gz
gnu: Add Text-Unidecode.
* gnu/packages/perl.scm (perl-text-unidecode): New variable.
-rw-r--r--gnu/packages/perl.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 4bc7a2ace0..0b3666107e 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -3433,6 +3433,29 @@ you want to do full file globbing use the File::Glob module instead.")
     (description "Text::SimpleTable draws simple ASCII tables.")
     (license artistic2.0)))
 
+(define-public perl-text-unidecode
+  (package
+    (name "perl-text-unidecode")
+    (version "1.23")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://cpan/authors/id/S/SB/SBURKE/"
+                           "Text-Unidecode-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1mnnq57amh0bs6z2ggkmgnn4hz8mqc9lfhr66xv2bsnlvhg7c7fb"))))
+    (build-system perl-build-system)
+    (home-page "http://search.cpan.org/dist/Text-Unidecode")
+    (synopsis "Provide plain ASCII transliterations of Unicode text")
+    (description "Text::Unidecode provides a function, unidecode(...) that
+takes Unicode data and tries to represent it in US-ASCII characters (i.e., the
+universally displayable characters between 0x00 and 0x7F).  The representation
+is almost always an attempt at transliteration-- i.e., conveying, in Roman
+letters, the pronunciation expressed by the text in some other writing
+system.")
+    (license (package-license perl))))
+
 (define-public perl-time-local
   (package
     (name "perl-time-local")