gnu: Add HTTP-Request-AsCGI.

* gnu/packages/web.scm (perl-http-request-ascgi): New variable.
This commit is contained in:
Eric Bavier 2015-03-11 17:19:46 -05:00
parent 8819f57bc1
commit 724d222773
1 changed files with 22 additions and 0 deletions

View File

@ -826,6 +826,28 @@ of the negotiable variants and the value of the various Accept* header
fields in the request.") fields in the request.")
(home-page "http://search.cpan.org/~gaas/HTTP-Negotiate/"))) (home-page "http://search.cpan.org/~gaas/HTTP-Negotiate/")))
(define-public perl-http-request-ascgi
(package
(name "perl-http-request-ascgi")
(version "1.2")
(source
(origin
(method url-fetch)
(uri (string-append "mirror://cpan/authors/id/F/FL/FLORA/"
"HTTP-Request-AsCGI-" version ".tar.gz"))
(sha256
(base32
"1smwmiarwcgq7vjdblnb6ldi2x1s5sk5p15p7xvm5byiqq3znnwl"))))
(build-system perl-build-system)
(propagated-inputs
`(("perl-class-accessor" ,perl-class-accessor)
("perl-http-message" ,perl-http-message)))
(home-page "http://search.cpan.org/dist/HTTP-Request-AsCGI")
(synopsis "Set up a CGI environment from an HTTP::Request")
(description "This module provides a convenient way to set up a CGI
environment from an HTTP::Request.")
(license (package-license perl))))
(define-public perl-http-tiny (define-public perl-http-tiny
(package (package
(name "perl-http-tiny") (name "perl-http-tiny")