diff options
author | Ben Woodcroft <donttrustben@gmail.com> | 2018-02-05 11:51:47 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2018-08-05 17:15:44 +0100 |
commit | 0b74aaa6e0eb923a085f703fe98ff54342e2412b (patch) | |
tree | e3df75a2fb04f9597499dcd1c3b4342d07042ed0 | |
parent | 80245d5b71ea7366a990fb2379dc44616d6205f1 (diff) | |
download | guix-0b74aaa6e0eb923a085f703fe98ff54342e2412b.tar guix-0b74aaa6e0eb923a085f703fe98ff54342e2412b.tar.gz |
gnu: Add ruby-rails.
-rw-r--r-- | gnu/packages/rails.scm | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/gnu/packages/rails.scm b/gnu/packages/rails.scm index 80648e3020..e0bd6ffdda 100644 --- a/gnu/packages/rails.scm +++ b/gnu/packages/rails.scm @@ -547,3 +547,50 @@ API.") (home-page "https://github.com/rails/web-console") (license license:expat))) + +(define-public ruby-rails + (package + (name "ruby-rails") + (version "5.1.4") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "rails" version)) + (sha256 + (base32 + "1f4qdznh7cqc4233hwg61qhpj2mwz1m4g2djwzjqk1v78lh1khjw")))) + (build-system ruby-build-system) + (arguments + `(#:tests? #f)) ; No tests included in gem. TODO: download from GitHub so + ; tests can be run. + (propagated-inputs + `(("ruby-actioncable" ,ruby-actioncable) + ("ruby-actionmailer" ,ruby-actionmailer) + ("ruby-actionpack" ,ruby-actionpack) + ("ruby-actionview" ,ruby-actionview) + ("ruby-activejob" ,ruby-activejob) + ("ruby-activemodel" ,ruby-activemodel) + ("ruby-activerecord" ,ruby-activerecord) + ("ruby-activesupport" ,ruby-activesupport) + ("bundler" ,bundler) + ("ruby-railties" ,ruby-railties) + ("ruby-sprockets-rails" ,ruby-sprockets-rails) + ("ruby-spring" ,ruby-spring) + ("ruby-sqlite3" ,ruby-sqlite3) + ("ruby-puma" ,ruby-puma) + ("ruby-sass-rails" ,ruby-sass-rails) + ("ruby-uglifier" ,ruby-uglifier) + ("ruby-coffee-rails" ,ruby-coffee-rails) + ("ruby-jquery-rails" ,ruby-jquery-rails) + ("ruby-turbolinks" ,ruby-turbolinks) + ("ruby-jbuilder" ,ruby-jbuilder) + ("ruby-byebug" ,ruby-byebug) + ("ruby-web-console" ,ruby-web-console) + ("ruby-listen" ,ruby-listen-3.0) + ("ruby-spring-watcher-listen" ,ruby-spring-watcher-listen))) + (synopsis + "Ruby on Rails is a full-stack web framework optimized for programmer happiness and sustainable productivity. It encourages beautiful code by favoring convention over configuration.") + (description + "Ruby on Rails is a full-stack web framework optimized for programmer happiness and sustainable productivity. It encourages beautiful code by favoring convention over configuration.") + (home-page "http://www.rubyonrails.org") + (license license:expat))) |