aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/ruby.scm
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2015-08-30 09:21:46 -0400
committerDavid Thompson <dthompson2@worcester.edu>2015-09-06 09:08:49 -0400
commit08a1b7013df6d081037406a2a9e180724ecd79b3 (patch)
treecc686376469ba90fd011eea38e3db3775ade64af /gnu/packages/ruby.scm
parent1415792a7c2faafe3d62c80358211db87a03020b (diff)
downloadguix-08a1b7013df6d081037406a2a9e180724ecd79b3.tar
guix-08a1b7013df6d081037406a2a9e180724ecd79b3.tar.gz
gnu: Add ruby-tzinfo.
* gnu/packages/ruby.scm (ruby-tzinfo): New variable.
Diffstat (limited to 'gnu/packages/ruby.scm')
-rw-r--r--gnu/packages/ruby.scm20
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 60cee11356..6c346d52f1 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -941,3 +941,23 @@ invocation, and source and documentation browsing.")
utilities for Ruby.")
(home-page "https://github.com/ruby-concurrency/thread_safe")
(license license:asl2.0)))
+
+(define-public ruby-tzinfo
+ (package
+ (name "ruby-tzinfo")
+ (version "1.2.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (rubygems-uri "tzinfo" version))
+ (sha256
+ (base32
+ "1c01p3kg6xvy1cgjnzdfq45fggbwish8krd0h864jvbpybyx7cgx"))))
+ (build-system ruby-build-system)
+ (propagated-inputs
+ `(("ruby-thread-safe" ,ruby-thread-safe)))
+ (synopsis "Time zone library for Ruby")
+ (description "TZInfo is a Ruby library that provides daylight savings
+aware transformations between times in different time zones.")
+ (home-page "http://tzinfo.github.io")
+ (license license:expat)))