summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2015-04-07 00:07:17 -0500
committerEric Bavier <bavier@member.fsf.org>2015-04-19 19:48:51 -0500
commit257fa40b234de75c3c6ef3b57c1b19f989ee8101 (patch)
tree4342a45d3cedc5233cdae85e0d8e36f839de21a5 /gnu
parentd2401db9ff760344165775d2e69abf8cb4feba98 (diff)
downloadguix-257fa40b234de75c3c6ef3b57c1b19f989ee8101.tar.gz
gnu: Add Term-Encoding.
* gnu/packages/perl.scm (perl-term-encoding): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/perl.scm19
1 files changed, 19 insertions, 0 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 2640fefd78..d879b94b54 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -4306,6 +4306,25 @@ documents: HTML, XML, POD, PostScript, LaTeX, and so on.")
 processing in Perl code.")
     (license (list gpl3 artistic2.0))))
 
+(define-public perl-term-encoding
+  (package
+    (name "perl-term-encoding")
+    (version "0.02")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
+                           "Term-Encoding-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1k6g4q7snxggv5fdqnzw29al4mwbwg0hl0skzfnczh508qiyfx7j"))))
+    (build-system perl-build-system)
+    (home-page "http://search.cpan.org/dist/Term-Encoding")
+    (synopsis "Detect encoding of the current terminal")
+    (description "Term::Encoding is a simple module to detect the encoding of
+the current terminal expects in various ways.")
+    (license (package-license perl))))
+
 (define-public perl-test-base
   (package
     (name "perl-test-base")