From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34879) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dmZmp-00044A-Jq for guix-patches@gnu.org; Tue, 29 Aug 2017 02:14:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dmZmn-0005kv-Np for guix-patches@gnu.org; Tue, 29 Aug 2017 02:14:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:51331) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dmZmn-0005ko-KD for guix-patches@gnu.org; Tue, 29 Aug 2017 02:14:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dmZmn-0001wv-FN for guix-patches@gnu.org; Tue, 29 Aug 2017 02:14:05 -0400 Subject: [bug#28272] [PATCH 08/12] gnu: Add perl-net-idn-encode. Resent-Message-ID: From: Christopher Baines Date: Tue, 29 Aug 2017 07:13:01 +0100 Message-Id: <20170829061305.2290-8-mail@cbaines.net> In-Reply-To: <20170829061305.2290-1-mail@cbaines.net> References: <20170829061305.2290-1-mail@cbaines.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 28272@debbugs.gnu.org * 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 13da2a6f5..d22e461a0 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 (package-license perl)))) + (define-public perl-net-statsd (package (name "perl-net-statsd") -- 2.14.1