summary refs log tree commit diff
path: root/gnu/packages/rails.scm
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2019-01-28 16:02:31 +0000
committerChristopher Baines <mail@cbaines.net>2019-02-14 21:38:01 +0000
commit1c48c539ee56ed98722e5c5e62a3738db554dfcc (patch)
tree427d52d5c227fb2b338a13edb05dbd92fb1f777a /gnu/packages/rails.scm
parentd15dbe83f573d042c16a811ddaaee93eb13478c3 (diff)
downloadguix-1c48c539ee56ed98722e5c5e62a3738db554dfcc.tar.gz
gnu: Add ruby-actionview.
* gnu/packages/rails.scm (ruby-actionview): New variable.
Diffstat (limited to 'gnu/packages/rails.scm')
-rw-r--r--gnu/packages/rails.scm28
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/rails.scm b/gnu/packages/rails.scm
index 7e0e3ddf73..bb89a8ddec 100644
--- a/gnu/packages/rails.scm
+++ b/gnu/packages/rails.scm
@@ -197,3 +197,31 @@ directly.")
 useful when writing tests.")
    (home-page "https://github.com/rails/rails-dom-testing")
    (license license:expat)))
+
+(define-public ruby-actionview
+  (package
+   (name "ruby-actionview")
+   (version "5.2.2")
+   (source
+    (origin
+     (method url-fetch)
+     (uri (rubygems-uri "actionview" version))
+     (sha256
+      (base32
+       "1lz04drbi1z0xhvb8jnr14pbf505lilr02arahxq7y3mxiz0rs8z"))))
+   (build-system ruby-build-system)
+   (arguments
+    '(;; No included tests
+      #:tests? #f))
+   (propagated-inputs
+    `(("ruby-activesupport" ,ruby-activesupport)
+      ("ruby-builder" ,ruby-builder)
+      ("ruby-erubi" ,ruby-erubi)
+      ("ruby-rails-dom-testing" ,ruby-rails-dom-testing)
+      ("ruby-rails-html-sanitizer" ,ruby-rails-html-sanitizer)))
+   (synopsis "Conventions and helpers for building web pages")
+   (description
+    "ActionView provides conventions and helpers for building web pages in
+Ruby.")
+   (home-page "https://rubyonrails.org/")
+   (license license:expat)))