summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2019-01-28 16:33:40 +0000
committerChristopher Baines <mail@cbaines.net>2019-02-14 21:38:02 +0000
commitc8f079ca16f2c632d1e35a260957b50c9242dfd3 (patch)
tree620e2134a64d35f039e733989de1abb851fb9b34 /gnu
parent0fc308997f24c65a64b0fb84b034a067ef752f17 (diff)
downloadguix-c8f079ca16f2c632d1e35a260957b50c9242dfd3.tar.gz
gnu: Add ruby-railties.
* gnu/packages/rails.scm (ruby-railties): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/rails.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/rails.scm b/gnu/packages/rails.scm
index bf972512f4..e5f19a4742 100644
--- a/gnu/packages/rails.scm
+++ b/gnu/packages/rails.scm
@@ -333,3 +333,30 @@ applications.")
 pattern.  Including support for multipart email and attachments.")
    (home-page "https://rubyonrails.org/")
    (license license:expat)))
+
+(define-public ruby-railties
+  (package
+   (name "ruby-railties")
+   (version "5.2.2")
+   (source
+    (origin
+     (method url-fetch)
+     (uri (rubygems-uri "railties" version))
+     (sha256
+      (base32
+       "00pnylmbz4c46mxw5lhxi8h39lndfg6fs1hpd0qd6swnjhkqsr1l"))))
+   (build-system ruby-build-system)
+   (arguments
+    '(;; No included tests
+      #:tests? #f))
+   (propagated-inputs
+    `(("ruby-actionpack" ,ruby-actionpack)
+      ("ruby-activesupport" ,ruby-activesupport)
+      ("ruby-method-source" ,ruby-method-source)
+      ("ruby-thor" ,ruby-thor)))
+   (synopsis "Rails internals, including application bootup and generators")
+   (description
+    "@code{railties} provides the core Rails internals including handling
+application bootup, plugins, generators, and Rake tasks.")
+   (home-page "https://rubyonrails.org/")
+   (license license:expat)))