diff options
author | Eric Bavier <bavier@member.fsf.org> | 2015-04-01 14:28:17 -0500 |
---|---|---|
committer | Eric Bavier <bavier@member.fsf.org> | 2015-04-02 10:40:35 -0500 |
commit | f12b77a82f2fac178e69d3cecd28f2a2a44dfb80 (patch) | |
tree | 5c1a92c2c299cc4fe49b2c839a2073b57414ccc6 | |
parent | 66b9c74eb9eb9ded0d06ac378d7902571e95d51b (diff) | |
download | guix-f12b77a82f2fac178e69d3cecd28f2a2a44dfb80.tar guix-f12b77a82f2fac178e69d3cecd28f2a2a44dfb80.tar.gz |
gnu: Add DateTime-TimeZone.
* gnu/packages/perl.scm (perl-datetime-timezone): New variable.
-rw-r--r-- | gnu/packages/perl.scm | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index 78f17f0509..d46941d107 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -1043,6 +1043,38 @@ support for per-object behavior, circular structures, visiting tied structures, and all ref types (hashes, arrays, scalars, code, globs).") (license (package-license perl)))) +(define-public perl-datetime-timezone + (package + (name "perl-datetime-timezone") + (version "1.86") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/D/DR/DROLSKY/" + "DateTime-TimeZone-" version ".tar.gz")) + (sha256 + (base32 + "1aj5liy9as7yci2s9cqv9gqna5wggah8yg2jqrc89dnrin25s26z")))) + (build-system perl-build-system) + (native-inputs + `(("perl-test-fatal" ,perl-test-fatal) + ("perl-test-requires" ,perl-test-requires))) + (propagated-inputs + `(("perl-class-singleton" ,perl-class-singleton) + ("perl-list-allutils" ,perl-list-allutils) + ("perl-module-runtime" ,perl-module-runtime) + ("perl-params-validate" ,perl-params-validate) + ("perl-try-tiny" ,perl-try-tiny))) + (home-page "http://search.cpan.org/dist/DateTime-TimeZone") + (synopsis "Time zone object for Perl") + (description "This class is the base class for all time zone objects. A +time zone is represented internally as a set of observances, each of which +describes the offset from GMT for a given time period. Note that without the +DateTime module, this module does not do much. It's primary interface is +through a DateTime object, and most users will not need to directly use +DateTime::TimeZone methods.") + (license (package-license perl)))) + (define-public perl-devel-caller (package (name "perl-devel-caller") |