From e5082a1e6a3cf54fc1439d350c84210c18ae9557 Mon Sep 17 00:00:00 2001 From: Paul Garlick Date: Tue, 19 May 2020 11:48:07 +0100 Subject: gnu: Add perl-datetime-format-iso8601. * gnu/packages/perl.scm (perl-datetime-format-iso8601): New variable. --- gnu/packages/perl.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index d32e7b6ece..220519cde1 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -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") -- cgit v1.2.3