aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/perl.scm
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2015-07-09 19:14:22 -0500
committerEric Bavier <bavier@member.fsf.org>2015-09-10 03:21:55 -0500
commitbb1ba6b8f75c6b5b6cd23edf7c36068211a96c93 (patch)
tree5be2614a2f336b959e2ccd0117aceb8258653954 /gnu/packages/perl.scm
parent9cf6c9fcf0a7cedce805516101023a7acd2eed38 (diff)
downloadguix-bb1ba6b8f75c6b5b6cd23edf7c36068211a96c93.tar
guix-bb1ba6b8f75c6b5b6cd23edf7c36068211a96c93.tar.gz
gnu: Add perl-date-manip.
* gnu/packages/perl.scm (perl-date-manip): New variable.
Diffstat (limited to 'gnu/packages/perl.scm')
-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 12fed2b870..5bae3f31c8 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -1332,6 +1332,31 @@ applicable).")
Date::Calc.")
(license (list (package-license perl) lgpl2.0+))))
+(define-public perl-date-manip
+ (package
+ (name "perl-date-manip")
+ (version "6.50")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://cpan.metacpan.org/authors/id/S/SB/SBECK/"
+ "Date-Manip-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0zd0wbf91i49753rnf7m1lw197hdl5r97mxy0n43zdmcmhvkb3qq"))))
+ (build-system perl-build-system)
+ (arguments
+ ;; Tests would require tzdata for timezone information, but tzdata is in
+ ;; (gnu packages base) which would create a circular dependency. TODO:
+ ;; Maybe put this package elsewhere so we can turn on tests.
+ '(#:tests? #f))
+ (home-page "http://search.cpan.org/dist/Date-Manip")
+ (synopsis "Date manipulation routines")
+ (description "Date::Manip is a series of modules for common date/time
+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-datetime
(package
(name "perl-datetime")