diff options
author | Eric Bavier <bavier@member.fsf.org> | 2015-04-04 20:56:32 -0500 |
---|---|---|
committer | Eric Bavier <bavier@member.fsf.org> | 2015-04-19 19:48:47 -0500 |
commit | d3182b42a0ffe3c567a6502eee0708a9020c4d29 (patch) | |
tree | 60c51ccbd4779d02cb25ce73a55fb693aafa73ad /gnu | |
parent | 5c2c9ab2f8a852ee94ca7ed7286d1b8d2e6181bd (diff) | |
download | guix-d3182b42a0ffe3c567a6502eee0708a9020c4d29.tar.gz |
gnu: Add HTTP-Parser.
* gnu/packages/web.scm (perl-http-parser): New variable.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/web.scm | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index 12d87c2709..d848e7b635 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -1597,6 +1597,30 @@ 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-parser + (package + (name "perl-http-parser") + (version "0.06") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/E/ED/EDECA/" + "HTTP-Parser-" version ".tar.gz")) + (sha256 + (base32 + "0idwq3jk595xil65lmxz128ha7s3r2n5zknisddpgwnqrghs3igq")))) + (build-system perl-build-system) + (propagated-inputs + `(("perl-http-message" ,perl-http-message) + ("perl-uri" ,perl-uri))) + (home-page "http://search.cpan.org/dist/HTTP-Parser") + (synopsis "Parse HTTP/1.1 requests") + (description "This is an HTTP request parser. It takes chunks of text as +received and returns a 'hint' as to what is required, or returns the +HTTP::Request when a complete request has been read. HTTP/1.1 chunking is +supported.") + (license (package-license perl)))) + (define-public perl-http-request-ascgi (package (name "perl-http-request-ascgi") |