aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2015-04-06 22:45:14 -0500
committerEric Bavier <bavier@member.fsf.org>2015-04-19 19:48:49 -0500
commitf89fe3bff7ce0ccf12c9a8d122b357f85a9b3bc5 (patch)
tree93f792b96dabb360857508437faed1dbe273fa48
parent23c28360419fb4c2577b78bd67e9be59a84598fd (diff)
downloadguix-f89fe3bff7ce0ccf12c9a8d122b357f85a9b3bc5.tar.gz
guix-f89fe3bff7ce0ccf12c9a8d122b357f85a9b3bc5.zip
gnu: Add DateTime-Set.
* gnu/packages/perl.scm (perl-datetime-set): New variable.
-rw-r--r--gnu/packages/perl.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 11efa8c6f8..32c2eed4cd 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -1163,6 +1163,31 @@ combinations. It represents the Gregorian calendar, extended backwards in
time before its creation (in 1582).")
(license artistic2.0)))
+(define-public perl-datetime-set
+ (package
+ (name "perl-datetime-set")
+ (version "0.3400")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cpan/authors/id/F/FG/FGLOCK/"
+ "DateTime-Set-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1b27699zkj68w5ll9chjhs52vmf39f9via6x5r5844as30qh9zxb"))))
+ (build-system perl-build-system)
+ (propagated-inputs
+ `(("perl-datetime" ,perl-datetime)
+ ("perl-params-validate" ,perl-params-validate)
+ ("perl-set-infinite" ,perl-set-infinite)))
+ (home-page "http://search.cpan.org/dist/DateTime-Set")
+ (synopsis "DateTime set objects")
+ (description "The DateTime::Set module provides a date/time sets
+implementation. It allows, for example, the generation of groups of dates,
+like \"every wednesday\", and then find all the dates matching that pattern,
+within a time range.")
+ (license (package-license perl))))
+
(define-public perl-datetime-format-builder
(package
(name "perl-datetime-format-builder")