aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2015-04-06 23:33:09 -0500
committerEric Bavier <bavier@member.fsf.org>2015-04-19 19:48:50 -0500
commitef96132220b3b0027afc29154c5c1d49be8a0dd5 (patch)
treeb91bc16bc342e5414061549182269b955319f82a /gnu
parent69d2261f77afac7a82757514e2560c20b71f9790 (diff)
downloadpatches-ef96132220b3b0027afc29154c5c1d49be8a0dd5.tar
patches-ef96132220b3b0027afc29154c5c1d49be8a0dd5.tar.gz
gnu: Add DateTimeX-Easy.
* gnu/packages/perl.scm (perl-datetimex-easy): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/perl.scm28
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index f94b2f2fad..be4f7949a2 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -1514,6 +1514,34 @@ through a DateTime object, and most users will not need to directly use
DateTime::TimeZone methods.")
(license (package-license perl))))
+(define-public perl-datetimex-easy
+ (package
+ (name "perl-datetimex-easy")
+ (version "0.089")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cpan/authors/id/R/RO/ROKR/"
+ "DateTimeX-Easy-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0ybs9175h4s39x8a23ap129cgqwmy6w7psa86194jq5cww1d5rhp"))))
+ (build-system perl-build-system)
+ (native-inputs
+ `(("perl-test-most" ,perl-test-most)))
+ (propagated-inputs
+ `(("perl-datetime" ,perl-datetime)
+ ("perl-datetime-format-flexible" ,perl-datetime-format-flexible)
+ ("perl-datetime-format-ical" ,perl-datetime-format-ical)
+ ("perl-datetime-format-natural" ,perl-datetime-format-natural)
+ ("perl-timedate" ,perl-timedate)))
+ (home-page "http://search.cpan.org/dist/DateTimeX-Easy")
+ (synopsis "Parse date/time strings")
+ (description "DateTimeX::Easy uses a variety of DateTime::Format packages
+to create DateTime objects, with some custom tweaks to smooth out the rough
+edges (mainly concerning timezone detection and selection).")
+ (license (package-license perl))))
+
(define-public perl-devel-caller
(package
(name "perl-devel-caller")