aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2015-03-10 15:31:52 -0500
committerEric Bavier <bavier@member.fsf.org>2015-03-11 15:48:06 -0500
commit40f2518c1f844ce44e2ec7907ea10a15fd6d8ad9 (patch)
treef790a5d2327e2b812a7aa5e068547511778d72b6
parentdc1c804a6c4292b4797ef2af4b008f0d566eb0eb (diff)
downloadgnu-guix-40f2518c1f844ce44e2ec7907ea10a15fd6d8ad9.tar
gnu-guix-40f2518c1f844ce44e2ec7907ea10a15fd6d8ad9.tar.gz
gnu: Add TimeDate.
* gnu/packages/perl.scm (perl-timedate): New variable.
-rw-r--r--gnu/packages/perl.scm19
1 files changed, 19 insertions, 0 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 0dc3521dc9..00a811c206 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -2216,6 +2216,25 @@ six-element array, and return the corresponding time(2) value in seconds since
the system epoch")
(license (package-license perl))))
+(define-public perl-timedate
+ (package
+ (name "perl-timedate")
+ (version "2.30")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cpan/authors/id/G/GB/GBARR/"
+ "TimeDate-" version ".tar.gz"))
+ (sha256
+ (base32
+ "11lf54akr9nbivqkjrhvkmfdgkbhw85sq0q4mak56n6bf542bgbm"))))
+ (build-system perl-build-system)
+ (home-page "http://search.cpan.org/dist/TimeDate")
+ (synopsis "Date parsing/formating subroutines")
+ (description "This module provides routines for parsing date string into
+time values and formating dates into ASCII strings.")
+ (license (package-license perl))))
+
(define-public perl-try-tiny
(package
(name "perl-try-tiny")