From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39609) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eypub-0007K9-Jc for guix-patches@gnu.org; Wed, 21 Mar 2018 22:25:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eypuY-0002tV-E2 for guix-patches@gnu.org; Wed, 21 Mar 2018 22:25:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:38613) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eypuY-0002tI-Ar for guix-patches@gnu.org; Wed, 21 Mar 2018 22:25:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eypuY-0004dA-3k for guix-patches@gnu.org; Wed, 21 Mar 2018 22:25:02 -0400 Subject: [bug#30903] [PATCH] gnu: Add perl-uri-escape. Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39347) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eypuF-0007Ix-M7 for guix-patches@gnu.org; Wed, 21 Mar 2018 22:24:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eypuC-0002Ym-I6 for guix-patches@gnu.org; Wed, 21 Mar 2018 22:24:43 -0400 Received: from mail-lf0-x229.google.com ([2a00:1450:4010:c07::229]:43680) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eypuC-0002X4-98 for guix-patches@gnu.org; Wed, 21 Mar 2018 22:24:40 -0400 Received: by mail-lf0-x229.google.com with SMTP id v207-v6so10835863lfa.10 for ; Wed, 21 Mar 2018 19:24:40 -0700 (PDT) From: Oleg Pykhalov Date: Thu, 22 Mar 2018 05:23:59 +0300 Message-Id: <20180322022359.12298-1-go.wigust@gmail.com> 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: 30903@debbugs.gnu.org * gnu/packages/perl-web.scm (perl-uri-escape): New public variable. --- gnu/packages/perl-web.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/perl-web.scm b/gnu/packages/perl-web.scm index 0500cee0d..af7cf8f58 100644 --- a/gnu/packages/perl-web.scm +++ b/gnu/packages/perl-web.scm @@ -21,6 +21,7 @@ #:use-module ((guix licenses) #:prefix license:) #:use-module (gnu packages) #:use-module (guix packages) + #:use-module (gnu packages perl-check) #:use-module (guix download) #:use-module (guix build-system perl)) @@ -46,3 +47,26 @@ keep you going, learning by doing was much fun. While most of the techniques used are outdated now, the idea behind it is not. Mojolicious is a new endeavor to implement this idea using modern technologies.") (license license:artistic2.0))) + +(define-public perl-uri-escape + (package + (name "perl-uri-escape") + (version "1.73") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/URI-" + version ".tar.gz")) + (sha256 + (base32 + "04z4xwiryrbxxi48bwbkgq9q9pwfgqry3wp0ramcrwv3dx5ap9yc")))) + (build-system perl-build-system) + (inputs + `(("perl-test-needs" ,perl-test-needs))) + (home-page "https://github.com/libwww-perl/URI") + (synopsis "Percent-encode and percent-decode unsafe characters") + (description "This module provides functions to percent-encode and +percent-decode URI strings as defined by RFC 3986. Percent-encoding URI's is +informally called URI escaping. This is the terminology used by this module, +which predates the formalization of the terms by the RFC by several years.") + (license license:perl-license))) -- 2.16.2