summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2019-01-28 15:19:10 +0000
committerChristopher Baines <mail@cbaines.net>2019-02-14 21:37:59 +0000
commit29fa6d8411d87fcde8b55cc13fbd545f1d3e6cd3 (patch)
tree369e168e13a372a29e6692f68db1d64fe4766ef9 /gnu/packages
parentfb394a296bcc6054035f8b561de239a6708dd944 (diff)
downloadguix-29fa6d8411d87fcde8b55cc13fbd545f1d3e6cd3.tar.gz
gnu: Add ruby-activemodel.
Required for ruby-activerecord.

* gnu/packages/rails.scm (ruby-activemodel): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/rails.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/rails.scm b/gnu/packages/rails.scm
index 5348d914cf..80329a3c5b 100644
--- a/gnu/packages/rails.scm
+++ b/gnu/packages/rails.scm
@@ -93,3 +93,28 @@ API.")
     (home-page
      "https://github.com/banister/debug_inspector")
     (license license:expat)))
+
+(define-public ruby-activemodel
+  (package
+   (name "ruby-activemodel")
+   (version "5.2.2")
+   (source
+    (origin
+     (method url-fetch)
+     (uri (rubygems-uri "activemodel" version))
+     (sha256
+      (base32
+       "1xmwi3mw8g4shbjvkhk72ra3r5jccbdsd4piphqka2y1h8s7sxvi"))))
+   (build-system ruby-build-system)
+   (arguments
+    '(;; No included tests
+      #:tests? #f))
+   (propagated-inputs
+    `(("ruby-activesupport" ,ruby-activesupport)))
+   (synopsis "Toolkit for building modeling frameworks like Active Record")
+   (description
+    "This package provides a toolkit for building modeling frameworks like
+Active Record.  ActiveSupport handles attributes, callbacks, validations,
+serialization, internationalization, and testing.")
+   (home-page "https://rubyonrails.org/")
+   (license license:expat)))