* [bug#30903] [PATCH] gnu: Add perl-uri-escape.
@ 2018-03-22 2:23 Oleg Pykhalov
2018-03-26 17:45 ` Marius Bakke
0 siblings, 1 reply; 3+ messages in thread
From: Oleg Pykhalov @ 2018-03-22 2:23 UTC (permalink / raw)
To: 30903
* 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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [bug#30903] [PATCH] gnu: Add perl-uri-escape.
2018-03-22 2:23 [bug#30903] [PATCH] gnu: Add perl-uri-escape Oleg Pykhalov
@ 2018-03-26 17:45 ` Marius Bakke
2018-03-26 19:50 ` bug#30903: " Oleg Pykhalov
0 siblings, 1 reply; 3+ messages in thread
From: Marius Bakke @ 2018-03-26 17:45 UTC (permalink / raw)
To: Oleg Pykhalov, 30903
[-- Attachment #1: Type: text/plain, Size: 745 bytes --]
Oleg Pykhalov <go.wigust@gmail.com> writes:
> * gnu/packages/perl-web.scm (perl-uri-escape): New public variable.
[...]
> + (inputs
> + `(("perl-test-needs" ,perl-test-needs)))
Native-input? Other than that LGTM.
> + (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
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#30903: [PATCH] gnu: Add perl-uri-escape.
2018-03-26 17:45 ` Marius Bakke
@ 2018-03-26 19:50 ` Oleg Pykhalov
0 siblings, 0 replies; 3+ messages in thread
From: Oleg Pykhalov @ 2018-03-26 19:50 UTC (permalink / raw)
To: Marius Bakke; +Cc: 30903, 30903-done
[-- Attachment #1: Type: text/plain, Size: 397 bytes --]
Marius Bakke <mbakke@fastmail.com> writes:
> Oleg Pykhalov <go.wigust@gmail.com> writes:
>
>> * gnu/packages/perl-web.scm (perl-uri-escape): New public variable.
>
> [...]
>
>> + (inputs
>> + `(("perl-test-needs" ,perl-test-needs)))
>
> Native-input? Other than that LGTM.
OK. Thank you for review.
Pushed as e0de023eae9f98cb809a4866a84d85efaa262e56
I'll close the bug report.
Oleg.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-03-26 19:52 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-22 2:23 [bug#30903] [PATCH] gnu: Add perl-uri-escape Oleg Pykhalov
2018-03-26 17:45 ` Marius Bakke
2018-03-26 19:50 ` bug#30903: " Oleg Pykhalov
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.