diff options
author | David Thompson <dthompson2@worcester.edu> | 2014-09-28 11:16:09 -0400 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2014-09-28 15:09:24 -0400 |
commit | acf735f2be47165d9dcaf0feaeaa75e276c26e9f (patch) | |
tree | b3fe07c5ed0fe82545f5e0e406122b2b05d69807 /gnu/packages | |
parent | c08f9818f91c3242c38d1c78823641ab3b1e7d58 (diff) | |
download | patches-acf735f2be47165d9dcaf0feaeaa75e276c26e9f.tar patches-acf735f2be47165d9dcaf0feaeaa75e276c26e9f.tar.gz |
gnu: Add ruby-i18n.
* gnu/packages/ruby.scm (ruby-i18n): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/ruby.scm | 26 |
1 files changed, 25 insertions, 1 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index cded7e95ae..ac751f58d5 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))) |