guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

11/40: gnu: Add HTTP-Request-AsCGI.


From: Eric Bavier
Subject: 11/40: gnu: Add HTTP-Request-AsCGI.
Date: Thu, 12 Mar 2015 20:55:59 +0000

bavier pushed a commit to branch master
in repository guix.

commit 724d222773eb538a3877e2fffdbd861c20cc26b9
Author: Eric Bavier <address@hidden>
Date:   Wed Mar 11 17:19:46 2015 -0500

    gnu: Add HTTP-Request-AsCGI.
    
    * gnu/packages/web.scm (perl-http-request-ascgi): New variable.
---
 gnu/packages/web.scm |   22 ++++++++++++++++++++++
 1 files changed, 22 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index dc8269a..6ef92dc 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]