aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2015-04-04 21:06:02 -0500
committerEric Bavier <bavier@member.fsf.org>2015-04-19 19:48:47 -0500
commit8ab39c2d26bfb8a3234473083c64d5a33c43cbdb (patch)
treec210dfbb262eb5b499e7ac20703b9093e28303a6 /gnu
parentd3182b42a0ffe3c567a6502eee0708a9020c4d29 (diff)
downloadpatches-8ab39c2d26bfb8a3234473083c64d5a33c43cbdb.tar
patches-8ab39c2d26bfb8a3234473083c64d5a33c43cbdb.tar.gz
gnu: Add HTTP-Parser-XS.
* gnu/packages/web.scm (perl-http-parser-xs): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/web.scm19
1 files changed, 19 insertions, 0 deletions
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index d848e7b635..8e6f05218a 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -1621,6 +1621,25 @@ HTTP::Request when a complete request has been read. HTTP/1.1 chunking is
supported.")
(license (package-license perl))))
+(define-public perl-http-parser-xs
+ (package
+ (name "perl-http-parser-xs")
+ (version "0.17")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cpan/authors/id/K/KA/KAZUHO/"
+ "HTTP-Parser-XS-" version ".tar.gz"))
+ (sha256
+ (base32
+ "02d84xq1mm53c7jl33qyb7v5w4372vydp74z6qj0vc96wcrnhkkr"))))
+ (build-system perl-build-system)
+ (home-page "http://search.cpan.org/dist/HTTP-Parser-XS")
+ (synopsis "Fast HTTP request parser")
+ (description "HTTP::Parser::XS is a fast, primitive HTTP request/response
+parser.")
+ (license (package-license perl))))
+
(define-public perl-http-request-ascgi
(package
(name "perl-http-request-ascgi")