gnu: Add perl-http-daemon.

* gnu/packages/web.scm (perl-http-daemon): New variable.
This commit is contained in:
Andreas Enge 2013-12-08 21:53:12 +01:00
parent b3d18aff2f
commit 3f41e6b310

View file

@ -242,3 +242,29 @@ (define-public perl-http-cookies
that is, a database of all the HTTP cookies that a given LWP::UserAgent
object knows about.")
(home-page "http://search.cpan.org/~gaas/HTTP-Cookies/")))
(define-public perl-http-daemon
(package
(name "perl-http-daemon")
(version "6.01")
(source (origin
(method url-fetch)
(uri (string-append
"mirror://cpan/authors/id/G/GA/GAAS/HTTP-Daemon-"
version ".tar.gz"))
(sha256
(base32
"1hmd2isrkilf0q0nkxms1q64kikjmcw9imbvrjgky6kh89vqdza3"))))
(build-system perl-build-system)
(inputs
`(("perl-http-date" ,perl-http-date)
("perl-http-message" ,perl-http-message)
("perl-lwp-mediatypes" ,perl-lwp-mediatypes)
("perl-uri" ,perl-uri)))
(license (package-license perl))
(synopsis "Perl simple http server class")
(description
"Instances of the HTTP::Daemon class are HTTP/1.1 servers that listen
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/")))