diff options
author | Andreas Enge <andreas@enge.fr> | 2013-12-08 22:02:48 +0100 |
---|---|---|
committer | Andreas Enge <andreas@enge.fr> | 2013-12-08 22:03:50 +0100 |
commit | e7444ee273977d045ec9b61c9e98bc33405b3427 (patch) | |
tree | 99a9caca1cdee07865d25808a438f65d47fe9a50 | |
parent | 77874f970ed6a028a7d03ae39f79f181a1942d11 (diff) | |
download | guix-e7444ee273977d045ec9b61c9e98bc33405b3427.tar.gz |
gnu: Add perl-http-negotiate.
* gnu/packages/web.scm (perl-http-negotiate): New variable.
-rw-r--r-- | gnu/packages/web.scm | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index 3615559768..013efc1790 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -268,3 +268,30 @@ object knows about.") on a socket for incoming requests. The HTTP::Daemon is a subclass of IO::Socket::INET, so you can perform socket operations directly on it too.") (home-page "http://search.cpan.org/~gaas/HTTP-Daemon/"))) + +(define-public perl-http-negotiate + (package + (name "perl-http-negotiate") + (version "6.01") + (source (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Negotiate-" + version ".tar.gz")) + (sha256 + (base32 + "05p053vjs5g91v5cmjnny7a3xzddz5k7vnjw81wfh01ilqg9qwhw")))) + (build-system perl-build-system) + (inputs + `(("perl-http-message" ,perl-http-message) + ("perl-uri" ,perl-uri))) + (license (package-license perl)) + (synopsis "Perl http content negotiation") + (description + "The HTTP::Negotiate module provides a complete implementation of the +HTTP content negotiation algorithm specified in +draft-ietf-http-v11-spec-00.ps chapter 12. Content negotiation allows for +the selection of a preferred content representation based upon attributes +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/"))) |