aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2015-04-06 22:46:46 -0500
committerEric Bavier <bavier@member.fsf.org>2015-04-19 19:48:50 -0500
commit47e049c44652befbc2c08ed7895326019e5f8ceb (patch)
treeee528f43f01eb9e0e69ef1bd6096f619af9cb897 /gnu
parentf89fe3bff7ce0ccf12c9a8d122b357f85a9b3bc5 (diff)
downloadguix-47e049c44652befbc2c08ed7895326019e5f8ceb.tar
guix-47e049c44652befbc2c08ed7895326019e5f8ceb.tar.gz
gnu: Add DateTime-Event-Recurrence.
* gnu/packages/perl.scm (perl-datetime-event-recurrence): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/perl.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 32c2eed4cd..26dd11331d 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -1188,6 +1188,30 @@ 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-recurrence
+ (package
+ (name "perl-datetime-event-recurrence")
+ (version "0.16")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cpan/authors/id/F/FG/FGLOCK/"
+ "DateTime-Event-Recurrence-" version ".tar.gz"))
+ (sha256
+ (base32
+ "02c6ky3k26r0c8r87rcsd8gbn7rd6j2pylryin8pllnrdh9f0wiq"))))
+ (build-system perl-build-system)
+ (propagated-inputs
+ `(("perl-datetime" ,perl-datetime)
+ ("perl-datetime-set" ,perl-datetime-set)))
+ (home-page "http://search.cpan.org/dist/DateTime-Event-Recurrence")
+ (synopsis "DateTime::Set extension for basic recurrences")
+ (description "This module provides convenience methods that let you easily
+create DateTime::Set objects for various recurrences, such as \"once a month\"
+or \"every day\". You can also create more complicated recurrences, such as
+\"every Monday, Wednesday and Thursday at 10:00 AM and 2:00 PM\".")
+ (license (package-license perl))))
+
(define-public perl-datetime-format-builder
(package
(name "perl-datetime-format-builder")