diff options
author | Ben Woodcroft <donttrustben@gmail.com> | 2018-02-05 11:53:07 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2018-12-31 09:46:23 +0000 |
commit | 6e40aa592c76a1d067a38d4e544284408719b67d (patch) | |
tree | 107aa64b77678a31dc4593392144812520ea4b37 | |
parent | 08d3b5388acadba804d12e85d72b6cb071528dd9 (diff) | |
download | gnu-guix-6e40aa592c76a1d067a38d4e544284408719b67d.tar gnu-guix-6e40aa592c76a1d067a38d4e544284408719b67d.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))) |