Patchwork [14/29] gnu: Add perl-encode-jis2k.

login
register
mail settings
Submitter Ricardo Wurmus
Date Nov. 23, 2016, 9:35 p.m.
Message ID <20161123213522.2923-15-rekado@elephly.net>
Download mbox | patch
Permalink /patch/17768/
State New
Headers show

Comments

Ricardo Wurmus - Nov. 23, 2016, 9:35 p.m.
* gnu/packages/perl.scm (perl-encode-jis2k): New variable.
---
 gnu/packages/perl.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

Patch

diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 283aa8d..de74c6d 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -2362,6 +2362,25 @@  the encoding of data.")
 encoding.")
     (license (package-license perl))))
 
+(define-public perl-encode-jis2k
+  (package
+    (name "perl-encode-jis2k")
+    (version "0.03")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://cpan/authors/id/D/DA/DANKOGAI/"
+                           "Encode-JIS2K-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1k1mdj4rd9m1z4h7qd2dl92ky0r1rk7mmagwsvdb9pirvdr4vj0y"))))
+    (build-system perl-build-system)
+    (home-page "http://search.cpan.org/dist/Encode-JIS2K")
+    (synopsis "JIS X 0212 (aka JIS 2000) encodings")
+    (description "This package provides encodings for JIS X 0212, which is
+also known as JIS 2000.")
+    (license (package-license perl))))
+
 (define-public perl-env-path
   (package
     (name "perl-env-path")