guix-commits
[Top][All Lists]
Advanced

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

40/66: gnu: Add ruby-activerecord.


From: guix-commits
Subject: 40/66: gnu: Add ruby-activerecord.
Date: Thu, 14 Feb 2019 16:38:38 -0500 (EST)

cbaines pushed a commit to branch master
in repository guix.

commit 13cf6aee1bfbb7541a57536205432462dcd21978
Author: Christopher Baines <address@hidden>
Date:   Mon Jan 28 15:22:52 2019 +0000

    gnu: Add ruby-activerecord.
    
    * gnu/packages/rails.scm (ruby-activerecord): New variable.
---
 gnu/packages/rails.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/rails.scm b/gnu/packages/rails.scm
index 80329a3..a9dae59 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)))



reply via email to

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