gnu: Add perl-datetime-format-iso8601.

* gnu/packages/perl.scm (perl-datetime-format-iso8601): New variable.
This commit is contained in:
Paul Garlick 2020-05-19 11:48:07 +01:00
parent ab82124f0e
commit e5082a1e6a
No known key found for this signature in database
GPG key ID: AAC7E891896B568A

View file

@ -3079,6 +3079,34 @@ (define-public perl-datetime-format-ical
order to create the appropriate objects.")
(license (package-license perl))))
(define-public perl-datetime-format-iso8601
(package
(name "perl-datetime-format-iso8601")
(version "0.08")
(source
(origin
(method url-fetch)
(uri (string-append
"mirror://cpan/authors/id/J/JH/JHOBLITT/DateTime-Format-ISO8601-"
version ".tar.gz"))
(sha256
(base32
"1syccqd5jlwms8v78ksnf68xijzl97jky5vbwhnyhxi5gvgfx8xk"))))
(build-system perl-build-system)
(native-inputs
`(("perl-module-build" ,perl-module-build)))
(propagated-inputs
`(("perl-datetime" ,perl-datetime)
("perl-datetime-format-builder" ,perl-datetime-format-builder)
("perl-file-find-rule" ,perl-file-find-rule)
("perl-test-distribution" ,perl-test-distribution)
("perl-test-pod" ,perl-test-pod)))
(home-page "https://metacpan.org/release/DateTime-Format-ISO8601")
(synopsis "Parse ISO8601 date and time formats")
(description "@code{DateTime::Format::ISO8601} is a DateTime
extension that parses almost all ISO8601 date and time formats.")
(license perl-license)))
(define-public perl-datetime-format-natural
(package
(name "perl-datetime-format-natural")