gnu: Add ruby-activemodel.

Required for ruby-activerecord.

* gnu/packages/rails.scm (ruby-activemodel): New variable.
This commit is contained in:
Christopher Baines 2019-01-28 15:19:10 +00:00
parent fb394a296b
commit 29fa6d8411
No known key found for this signature in database
GPG Key ID: 5E28A33B0B84F577
1 changed files with 25 additions and 0 deletions

View File

@ -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)))