summary refs log tree commit diff
path: root/gnu/packages/ruby.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <ricardo.wurmus@mdc-berlin.de>2015-09-16 11:02:32 +0200
committerDavid Thompson <dthompson2@worcester.edu>2015-09-19 08:51:13 -0400
commit8528365b0ebd7f7f4cb532165aa509b80e87c236 (patch)
treeb59d8a0cddc7de7448f99d1255be0f470b3a66f2 /gnu/packages/ruby.scm
parentd152162fc1bbd1dea4379239537cde7ca893880a (diff)
downloadguix-8528365b0ebd7f7f4cb532165aa509b80e87c236.tar.gz
gnu: Add ruby-formatador.
* gnu/packages/ruby.scm (ruby-formatador): New variable.
Diffstat (limited to 'gnu/packages/ruby.scm')
-rw-r--r--gnu/packages/ruby.scm20
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 88eeb76a10..d73e854774 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -626,6 +626,26 @@ libraries such as Libnotify.")
     (home-page "https://github.com/guard/notiffany")
     (license license:expat)))
 
+(define-public ruby-formatador
+  (package
+    (name "ruby-formatador")
+    (version "0.2.5")
+    (source (origin
+              (method url-fetch)
+              (uri (rubygems-uri "formatador" version))
+              (sha256
+               (base32
+                "1gc26phrwlmlqrmz4bagq1wd5b7g64avpx0ghxr9xdxcvmlii0l0"))))
+    (build-system ruby-build-system)
+    ;; Circular dependency: Tests require ruby-shindo, which requires
+    ;; ruby-formatador at runtime.
+    (arguments `(#:tests? #f))
+    (synopsis "Ruby library to format text on stdout")
+    (description "Formatador is a Ruby library to format text printed to the
+standard output stream.")
+    (home-page "http://github.com/geemus/formatador")
+    (license license:expat)))
+
 (define-public ruby-useragent
   (package
     (name "ruby-useragent")