From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Thompson Subject: [PATCH 3/3] gnu: Add ruby-i18n. Date: Sun, 28 Sep 2014 11:22:40 -0400 Message-ID: <1411917760-28557-3-git-send-email-dthompson2@worcester.edu> References: <1411917760-28557-1-git-send-email-dthompson2@worcester.edu> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55896) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XYGJg-0006jo-Iv for guix-devel@gnu.org; Sun, 28 Sep 2014 11:23:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XYGJa-0004Ja-I0 for guix-devel@gnu.org; Sun, 28 Sep 2014 11:23:16 -0400 Received: from na3sys009aog107.obsmtp.com ([74.125.149.197]:42637) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XYGJa-0004JE-AM for guix-devel@gnu.org; Sun, 28 Sep 2014 11:23:10 -0400 Received: by mail-qa0-f41.google.com with SMTP id cm18so8005956qab.14 for ; Sun, 28 Sep 2014 08:23:04 -0700 (PDT) In-Reply-To: <1411917760-28557-1-git-send-email-dthompson2@worcester.edu> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org * gnu/packages/ruby.scm (ruby-i18n): New variable. --- gnu/packages/ruby.scm | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index cded7e9..ac751f5 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -29,7 +29,8 @@ #:use-module (guix packages) #:use-module (guix download) #:use-module (guix utils) - #:use-module (guix build-system gnu)) + #:use-module (guix build-system gnu) + #:use-module (guix build-system ruby)) (define-public ruby (package @@ -88,3 +89,26 @@ a focus on simplicity and productivity.") (home-page "https://ruby-lang.org") (license license:ruby))) +(define-public ruby-i18n + (package + (name "ruby-i18n") + (version "0.6.11") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/svenfuchs/i18n/archive/v" + version ".tar.gz")) + (sha256 + (base32 + "1fdhnhh1p5g8vibv44d770z8nq208zrms3m2nswdvr54072y1m6k")))) + (build-system ruby-build-system) + (arguments + '(#:tests? #f)) ; requires bundler + (synopsis "Internationalization library for Ruby") + (description "Ruby i18n is an internationalization and localization +solution for Ruby programs. It features translation and localization, +interpolation of values to translations, pluralization, customizable +transliteration to ASCII, flexible defaults, bulk lookup, lambdas as +translation data, custom key/scope separator, custom exception handlers, and +an extensible architecture with a swappable backend.") + (home-page "http://github.com/svenfuchs/i18n") + (license license:expat))) -- 2.1.0