gnu: Add DateTime-Format-HTTP.

* gnu/packages/web.scm (perl-datetime-format-http): New variable.
This commit is contained in:
Eric Bavier 2015-04-06 16:47:54 -05:00
parent 1cebf8736e
commit 9151712c55
1 changed files with 22 additions and 0 deletions

View File

@ -1323,6 +1323,28 @@ parameter parsing, file upload, cookie handling and header generation.")
inputs, in a manner reminiscent of how PHP does.") inputs, in a manner reminiscent of how PHP does.")
(license l:bsd-2))) (license l:bsd-2)))
(define-public perl-datetime-format-http
(package
(name "perl-datetime-format-http")
(version "0.42")
(source
(origin
(method url-fetch)
(uri (string-append "mirror://cpan/authors/id/C/CK/CKRAS/"
"DateTime-Format-HTTP-" version ".tar.gz"))
(sha256
(base32
"0h6qqdg1yzqkdxp7hqlp0qa7d1y64nilgimxs79dys2ryjfpcknh"))))
(build-system perl-build-system)
(propagated-inputs
`(("perl-datetime" ,perl-datetime)
("perl-http-date" ,perl-http-date)))
(home-page "http://search.cpan.org/dist/DateTime-Format-HTTP")
(synopsis "Date conversion routines")
(description "This module provides functions that deal with the date
formats used by the HTTP protocol.")
(license (package-license perl))))
(define-public perl-encode-locale (define-public perl-encode-locale
(package (package
(name "perl-encode-locale") (name "perl-encode-locale")