aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <ricardo.wurmus@mdc-berlin.de>2015-11-20 12:09:45 +0100
committerRicardo Wurmus <ricardo.wurmus@mdc-berlin.de>2015-11-20 15:21:24 +0100
commit347eb21e1df4d064131f5fd076d5f4f3b44b541d (patch)
tree87b9270d41cd3adb3a5ec763545e64583a97dc56
parentf88bacaf6f9c45103adcc4a9592113619648a698 (diff)
downloadguix-347eb21e1df4d064131f5fd076d5f4f3b44b541d.tar.gz
guix-347eb21e1df4d064131f5fd076d5f4f3b44b541d.zip
gnu: Add ruby-locale.
* gnu/packages/ruby.scm (ruby-locale): New variable.
-rw-r--r--gnu/packages/ruby.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index dc73f38e75..326cae060b 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -965,6 +965,31 @@ assertion messages for tests.")
(home-page "https://github.com/k-tsj/power_assert")
(license (list license:bsd-2 license:ruby))))
+(define-public ruby-locale
+ (package
+ (name "ruby-locale")
+ (version "2.1.2")
+ (source (origin
+ (method url-fetch)
+ (uri (rubygems-uri "locale" version))
+ (sha256
+ (base32
+ "1sls9bq4krx0fmnzmlbn64dw23c4d6pz46ynjzrn9k8zyassdd0x"))))
+ (build-system ruby-build-system)
+ ;; ruby-test-unit is required to run tests, but that needs ruby-packnga,
+ ;; which needs ruby-gettext, which needs ruby-locale. To break the
+ ;; dependency cycle we disable tests.
+ (arguments `(#:tests? #f))
+ (native-inputs
+ `(("bundler" ,bundler)
+ ("ruby-yard" ,ruby-yard)))
+ (synopsis "Ruby library providing basic localization APIs")
+ (description
+ "Ruby-Locale is the pure ruby library which provides basic APIs for
+localization.")
+ (home-page "https://github.com/ruby-gettext/locale")
+ (license (list license:lgpl3+ license:ruby))))
+
(define-public ruby-minitest
(package
(name "ruby-minitest")