From 08a1b7013df6d081037406a2a9e180724ecd79b3 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Sun, 30 Aug 2015 09:21:46 -0400 Subject: [PATCH] gnu: Add ruby-tzinfo. * gnu/packages/ruby.scm (ruby-tzinfo): New variable. --- gnu/packages/ruby.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) 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)))