diff options
author | Ben Woodcroft <donttrustben@gmail.com> | 2018-02-05 11:53:07 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2018-12-28 11:21:18 +0000 |
commit | 20ab87e779c018961d0ce260fc26d859ed56f54a (patch) | |
tree | 92b80f44a6134c71767ec41b742693f9708d933b | |
parent | 6a6c5c4600af1cb3f7bc58780d1c6867c38a72ba (diff) | |
download | guix-20ab87e779c018961d0ce260fc26d859ed56f54a.tar guix-20ab87e779c018961d0ce260fc26d859ed56f54a.tar.gz |
gnu: Add ruby-activerecord.
-rw-r--r-- | gnu/packages/rails.scm | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/rails.scm b/gnu/packages/rails.scm index 67ac21dce4..a5542f0bb7 100644 --- a/gnu/packages/rails.scm +++ b/gnu/packages/rails.scm @@ -116,3 +116,28 @@ API.") "This package provides a toolkit for building modeling frameworks like Active Record. Rich support for attributes, callbacks, validations, serialization, internationalization, and testing.") (home-page "http://www.rubyonrails.org") (license license:expat))) + +(define-public ruby-activerecord + (package + (name "ruby-activerecord") + (version "5.2.1") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "activerecord" version)) + (sha256 + (base32 + "0pc7cycvhzjpw0swil2inka6c0fvcxhln793czp52pidg0654g7g")))) + (build-system ruby-build-system) + (arguments + `(#:tests? #f)) + (propagated-inputs + `(("ruby-activemodel" ,ruby-activemodel) + ("ruby-activesupport" ,ruby-activesupport) + ("ruby-arel" ,ruby-arel))) + (synopsis + "Databases on Rails. Build a persistent domain model by mapping database tables to Ruby classes. Strong conventions for associations, validations, aggregations, migrations, and testing come baked-in.") + (description + "Databases on Rails. Build a persistent domain model by mapping database tables to Ruby classes. Strong conventions for associations, validations, aggregations, migrations, and testing come baked-in.") + (home-page "http://www.rubyonrails.org") + (license license:expat))) |