summary refs log tree commit diff
path: root/gnu/packages/perl.scm
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2015-04-06 22:47:53 -0500
committerEric Bavier <bavier@member.fsf.org>2015-04-19 19:48:50 -0500
commit21c9adcca6217189c43f61134cfac45b41a6b85a (patch)
treecf7f54fd8d79de192567e38a74f7f20510a1aa74 /gnu/packages/perl.scm
parent47e049c44652befbc2c08ed7895326019e5f8ceb (diff)
downloadguix-21c9adcca6217189c43f61134cfac45b41a6b85a.tar.gz
gnu: Add DateTime-Event-ICal.
* gnu/packages/perl.scm (perl-datetime-event-ical): New variable.
Diffstat (limited to 'gnu/packages/perl.scm')
-rw-r--r--gnu/packages/perl.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 26dd11331d..c3911b2db4 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -1188,6 +1188,28 @@ like \"every wednesday\", and then find all the dates matching that pattern,
 within a time range.")
     (license (package-license perl))))
 
+(define-public perl-datetime-event-ical
+  (package
+    (name "perl-datetime-event-ical")
+    (version "0.12")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://cpan/authors/id/F/FG/FGLOCK/"
+                           "DateTime-Event-ICal-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1rfrjhczfmasf7aaz8rfd89vhwjj2nkxlnirxxrmy75z10nmrpjk"))))
+    (build-system perl-build-system)
+    (propagated-inputs
+     `(("perl-datetime" ,perl-datetime)
+       ("perl-datetime-event-recurrence" ,perl-datetime-event-recurrence)))
+    (home-page "http://search.cpan.org/dist/DateTime-Event-ICal")
+    (synopsis "DateTime rfc2445 recurrences")
+    (description "This module provides convenience methods that let you easily
+create DateTime::Set objects for RFC 2445 style recurrences.")
+    (license (package-license perl))))
+
 (define-public perl-datetime-event-recurrence
   (package
     (name "perl-datetime-event-recurrence")