summary refs log tree commit diff
path: root/gnu/packages/ruby.scm
diff options
context:
space:
mode:
authorDavid Thompson <davet@gnu.org>2015-06-05 12:06:58 -0400
committerDavid Thompson <davet@gnu.org>2015-06-15 20:27:38 -0400
commitde59d31607c2c6a2e630fca056f7785b5104242b (patch)
treea49fe811cb86e73fc69a6fd9044c406b2105c4fc /gnu/packages/ruby.scm
parent96086cc540c7c1852506afa901049a13b282ebf6 (diff)
downloadguix-de59d31607c2c6a2e630fca056f7785b5104242b.tar.gz
gnu: Add ruby-arel.
* gnu/packages/ruby.scm (ruby-arel): New variable.
Diffstat (limited to 'gnu/packages/ruby.scm')
-rw-r--r--gnu/packages/ruby.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 1dc0c2e28e..073dc4b8d0 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -393,3 +393,26 @@ User Agents.")
 features.")
     (home-page "https://github.com/chneukirchen/bacon")
     (license license:expat)))
+
+(define-public ruby-arel
+  (package
+    (name "ruby-arel")
+    (version "6.0.0")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "https://github.com/rails/arel/archive/v"
+                    version ".tar.gz"))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0fldwp2hmrmddx22xf7hdmybngzv97qnv5rvz3qw61m94ddd6w4n"))))
+    (build-system ruby-build-system)
+    (native-inputs
+     `(("bundler" ,bundler)))
+    (synopsis "SQL AST manager for Ruby")
+    (description "Arel is a SQL AST manager for Ruby.  It simplifies the
+generation of complex SQL queries and adapts to various relational database
+implementations.")
+    (home-page "https://github.com/rails/arel")
+    (license license:expat)))