aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2016-11-23 22:02:12 +0100
committerRicardo Wurmus <rekado@elephly.net>2016-11-27 09:48:40 +0100
commit36dd594316df1b89137735c07018df17ae6310bf (patch)
tree0f37b11b892f9fafbe17a9047f118cfe1e5edaaa /gnu
parentcc3dafbb022825669cdcf96d66d73e6fdfe41bbe (diff)
downloadguix-36dd594316df1b89137735c07018df17ae6310bf.tar.gz
guix-36dd594316df1b89137735c07018df17ae6310bf.zip
gnu: Add perl-date-simple.
* gnu/packages/perl.scm (perl-date-simple): New variable.
Diffstat (limited to 'gnu')
-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 b87e33937b..d3df8b20c1 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -1619,6 +1619,28 @@ operations, such as comparing two times, determining a date a given amount of
time from another, or parsing international times.")
(license (package-license perl))))
+(define-public perl-date-simple
+ (package
+ (name "perl-date-simple")
+ (version "3.03")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cpan/authors/id/I/IZ/IZUT/"
+ "Date-Simple-" version ".tar.gz"))
+ (sha256
+ (base32
+ "016x17r9wi6ffdc4idwirzd1sxqcb4lmq5fn2aiq25nf2iir5899"))))
+ (build-system perl-build-system)
+ (home-page "http://search.cpan.org/dist/Date-Simple")
+ (synopsis "Simple date handling")
+ (description "Dates are complex enough without times and timezones. This
+module may be used to create simple date objects. It handles validation,
+interval arithmetic, and day-of-week calculation. It does not deal with
+hours, minutes, seconds, and time zones.")
+ ;; Can be used with either license.
+ (license (list (package-license perl) gpl2+))))
+
(define-public perl-datetime
(package
(name "perl-datetime")