summary refs log tree commit diff
path: root/gnu/packages/rails.scm
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2019-01-28 15:22:52 +0000
committerChristopher Baines <mail@cbaines.net>2019-02-14 21:37:59 +0000
commit13cf6aee1bfbb7541a57536205432462dcd21978 (patch)
tree2fa1159212426d437596d97a60fc851c10427741 /gnu/packages/rails.scm
parentaecd533d5a6624bcfbcdd31d5c67e0feeb9107ae (diff)
downloadguix-13cf6aee1bfbb7541a57536205432462dcd21978.tar.gz
gnu: Add ruby-activerecord.
* gnu/packages/rails.scm (ruby-activerecord): New variable.
Diffstat (limited to 'gnu/packages/rails.scm')
-rw-r--r--gnu/packages/rails.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/rails.scm b/gnu/packages/rails.scm
index 80329a3c5b..a9dae594a5 100644
--- a/gnu/packages/rails.scm
+++ b/gnu/packages/rails.scm
@@ -118,3 +118,29 @@ Active Record.  ActiveSupport handles attributes, callbacks, validations,
 serialization, internationalization, and testing.")
    (home-page "https://rubyonrails.org/")
    (license license:expat)))
+
+(define-public ruby-activerecord
+  (package
+   (name "ruby-activerecord")
+   (version "5.2.2")
+   (source
+    (origin
+     (method url-fetch)
+     (uri (rubygems-uri "activerecord" version))
+     (sha256
+      (base32
+       "19a0sns6a5wz2wym25lb1dv4lbrrl5sd1n15s5ky2636znmhz30y"))))
+   (build-system ruby-build-system)
+   (arguments
+    '(;; No included tests
+      #:tests? #f))
+   (propagated-inputs
+    `(("ruby-activemodel" ,ruby-activemodel)
+      ("ruby-activesupport" ,ruby-activesupport)
+      ("ruby-arel" ,ruby-arel)))
+   (synopsis "Ruby library to connect to relational databases")
+   (description
+    "Active Record connects classes to relational database table to establish
+an almost zero-configuration persistence layer for applications.")
+   (home-page "https://rubyonrails.org")
+   (license license:expat)))