guix-commits
[Top][All Lists]
Advanced

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

16/20: gnu: Add HTTP-Body.


From: Eric Bavier
Subject: 16/20: gnu: Add HTTP-Body.
Date: Wed, 11 Mar 2015 21:08:56 +0000

bavier pushed a commit to branch master
in repository guix.

commit 5ec8ec83f657bba46ffc67a9ed75f188190fccc6
Author: Eric Bavier <address@hidden>
Date:   Tue Mar 10 17:26:17 2015 -0500

    gnu: Add HTTP-Body.
    
    * gnu/packages/web.scm (perl-http-body): New variable.
---
 gnu/packages/web.scm |   25 +++++++++++++++++++++++++
 1 files changed, 25 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 7da10cf..6a703cd 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -615,6 +615,31 @@ are invoked.")
 kinds of HTML parsing operations.")
     (home-page "http://search.cpan.org/dist/HTML-Tagset/";)))
 
+(define-public perl-http-body
+  (package
+    (name "perl-http-body")
+    (version "1.19")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://cpan/authors/id/G/GE/GETTY/"
+                           "HTTP-Body-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0ahhksj0zg6wq6glpjkxdr3byd5riwvq2f5aw21n1jcsl71nll01"))))
+    (build-system perl-build-system)
+    (native-inputs
+     `(("perl-test-deep" ,perl-test-deep)))
+    (propagated-inputs
+     `(("perl-file-temp" ,perl-file-temp)
+       ("perl-http-message" ,perl-http-message))) ;For HTTP::Headers
+    (home-page "http://search.cpan.org/dist/HTTP-Body";)
+    (synopsis "HTTP Body Parser")
+    (description "HTTP::Body parses chunks of HTTP POST data and supports
+application/octet-stream, application/json, application/x-www-form-urlencoded,
+and multipart/form-data.")
+    (license (package-license perl))))
+
 (define-public perl-http-cookiejar
   (package
     (name "perl-http-cookiejar")



reply via email to

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