guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

04/20: gnu: Add ruby-gettext.


From: Ricardo Wurmus
Subject: 04/20: gnu: Add ruby-gettext.
Date: Fri, 20 Nov 2015 14:23:11 +0000

rekado pushed a commit to branch master
in repository guix.

commit c1f52261e2379316869d7829023dda4759be150b
Author: Ricardo Wurmus <address@hidden>
Date:   Fri Nov 20 12:10:49 2015 +0100

    gnu: Add ruby-gettext.
    
    * gnu/packages/ruby.scm (ruby-gettext): New variable.
---
 gnu/packages/ruby.scm |   29 +++++++++++++++++++++++++++++
 1 files changed, 29 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 0a31efb..9aff0e9 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -1008,6 +1008,35 @@ Soundex, Metaphone, Double Metaphone, Porter Stemming.")
     (home-page "http://github.com/threedaymonk/text";)
     (license license:expat)))
 
+(define-public ruby-gettext
+  (package
+    (name "ruby-gettext")
+    (version "3.1.7")
+    (source (origin
+              (method url-fetch)
+              (uri (rubygems-uri "gettext" version))
+              (sha256
+               (base32
+                "1hg9islkm324mb4sd4za1fgafj1hqnm3bdvzj3k4fqpnzqnbcfiq"))))
+    (build-system ruby-build-system)
+    ;; ruby-test-unit is required to run tests, but that needs ruby-packnga,
+    ;; which needs ruby-gettext.  To break the dependency cycle we disable
+    ;; tests.
+    (arguments `(#:tests? #f))
+    (propagated-inputs
+     `(("ruby-locale" ,ruby-locale)
+       ("ruby-text" ,ruby-text)))
+    (native-inputs
+     `(("bundler" ,bundler)
+       ("ruby-yard" ,ruby-yard)))
+    (synopsis "GNU gettext-like program for Ruby")
+    (description
+     "Gettext is a GNU gettext-like program for Ruby.  The catalog
+file (po-file) used is the same as that used by GNU gettext, allowing you to
+use GNU gettext tools for maintenance.")
+    (home-page "http://ruby-gettext.github.com/";)
+    (license (list license:lgpl3+ license:ruby))))
+
 (define-public ruby-minitest
   (package
     (name "ruby-minitest")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]