guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

08/12: gnu: Add perl-net-idn-encode.


From: Christopher Baines
Subject: 08/12: gnu: Add perl-net-idn-encode.
Date: Tue, 12 Sep 2017 18:00:14 -0400 (EDT)

cbaines pushed a commit to branch master
in repository guix.

commit 24c1c51334ccee4a6485eb2ab2dc49a2d2ffd02f
Author: Christopher Baines <address@hidden>
Date:   Mon Aug 28 20:56:30 2017 +0100

    gnu: Add perl-net-idn-encode.
    
    * gnu/packages/perl.scm (perl-net-idn-encode): New variable.
---
 gnu/packages/perl.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index d25b788..aeebd23 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -5501,6 +5501,38 @@ cycle.  Functions called in the package itself will 
still be bound by their
 name, but they won't show up as methods on your class or instances.")
     (license (package-license perl))))
 
+(define-public perl-net-idn-encode
+  (package
+    (name "perl-net-idn-encode")
+    (version "2.400")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "mirror://cpan/authors/id/C/CF/CFAERBER/Net-IDN-Encode-"
+             version
+             ".tar.gz"))
+       (sha256
+        (base32
+         "0a9knav5f9kjldrkxx1k47ivd3p23zkmi8aqgyhnxidhgasz1dlq"))))
+    (build-system perl-build-system)
+    (native-inputs
+     `(("perl-module-build" ,perl-module-build)
+       ("perl-test-nowarnings" ,perl-test-nowarnings)))
+    (home-page
+     "http://search.cpan.org/dist/Net-IDN-Encode";)
+    (synopsis
+     "Internationalizing Domain Names in Applications (IDNA)")
+    (description
+     "Internationalized Domain Names (IDNs) use characters drawn from a large
+repertoire (Unicode), but IDNA allows the non-ASCII characters to be
+represented using only the ASCII characters already allowed in so-called host
+names today (letter-digit-hyphen, /[A-Z0-9-]/i).
+
+Use this module if you just want to convert domain names (or email addresses),
+using whatever IDNA standard is the best choice at the moment.")
+    (license perl-license)))
+
 (define-public perl-net-statsd
   (package
    (name "perl-net-statsd")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]