From 724d222773eb538a3877e2fffdbd861c20cc26b9 Mon Sep 17 00:00:00 2001 From: Eric Bavier Date: Wed, 11 Mar 2015 17:19:46 -0500 Subject: [PATCH] gnu: Add HTTP-Request-AsCGI. * gnu/packages/web.scm (perl-http-request-ascgi): New variable. --- gnu/packages/web.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index dc8269a240..6ef92dc65f 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -826,6 +826,28 @@ of the negotiable variants and the value of the various Accept* header fields in the request.") (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 (package (name "perl-http-tiny")