diff options
author | Eric Bavier <bavier@member.fsf.org> | 2015-04-06 22:49:26 -0500 |
---|---|---|
committer | Eric Bavier <bavier@member.fsf.org> | 2015-04-19 19:48:50 -0500 |
commit | e58a2fa16ec4f7fcf4072e4d152dc381107871a8 (patch) | |
tree | 1f2a018f9a9ad3c5170578ea827417ea586d0646 | |
parent | 21c9adcca6217189c43f61134cfac45b41a6b85a (diff) | |
download | guix-e58a2fa16ec4f7fcf4072e4d152dc381107871a8.tar.gz |
gnu: Add DateTime-Format-ICal.
* gnu/packages/perl.scm (perl-datetime-format-ical): New variable.
-rw-r--r-- | gnu/packages/perl.scm | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index c3911b2db4..a488815451 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -1285,6 +1285,32 @@ to do this without writing reams of structural code.") give it and parse it into a DateTime object.") (license (package-license perl)))) +(define-public perl-datetime-format-ical + (package + (name "perl-datetime-format-ical") + (version "0.09") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/D/DR/DROLSKY/" + "DateTime-Format-ICal-" version ".tar.gz")) + (sha256 + (base32 + "0cvwk7pigj7czsp81z35h7prxvylkrlk2l0kwvq0v72ykx9zc2cb")))) + (build-system perl-build-system) + (propagated-inputs + `(("perl-datetime" ,perl-datetime) + ("perl-datetime-event-ical" ,perl-datetime-event-ical) + ("perl-datetime-set" ,perl-datetime-set) + ("perl-datetime-timezone" ,perl-datetime-timezone) + ("perl-params-validate" ,perl-params-validate))) + (home-page "http://search.cpan.org/dist/DateTime-Format-ICal") + (synopsis "Parse and format iCal datetime and duration strings") + (description "This module understands the ICal date/time and duration +formats, as defined in RFC 2445. It can be used to parse these formats in +order to create the appropriate objects.") + (license (package-license perl)))) + (define-public perl-datetime-format-strptime (package (name "perl-datetime-format-strptime") |