summaryrefslogtreecommitdiff
path: root/gnu/packages/rails.scm
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2019-01-28 16:04:16 +0000
committerChristopher Baines <mail@cbaines.net>2019-02-14 21:38:01 +0000
commit7b062e98b855f2cc0e5c06eedbb080f06ccceb50 (patch)
tree5d8e779ab936e23618e57577a3f3ac5b4a88c775 /gnu/packages/rails.scm
parent1c48c539ee56ed98722e5c5e62a3738db554dfcc (diff)
gnu: Add ruby-actionpack.
* gnu/packages/rails.scm (ruby-actionpack): New variable.
Diffstat (limited to 'gnu/packages/rails.scm')
-rw-r--r--gnu/packages/rails.scm29
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/rails.scm b/gnu/packages/rails.scm
index bb89a8ddec..ac36cda8bb 100644
--- a/gnu/packages/rails.scm
+++ b/gnu/packages/rails.scm
@@ -225,3 +225,32 @@ useful when writing tests.")
Ruby.")
(home-page "https://rubyonrails.org/")
(license license:expat)))
+
+(define-public ruby-actionpack
+ (package
+ (name "ruby-actionpack")
+ (version "5.2.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (rubygems-uri "actionpack" version))
+ (sha256
+ (base32
+ "0iwhbqqn0cm39dq040iwq8cfyclqk3kyzwlp5k3j5cz8k2668wws"))))
+ (build-system ruby-build-system)
+ (arguments
+ '(;; No included tests
+ #:tests? #f))
+ (propagated-inputs
+ `(("ruby-actionview" ,ruby-actionview)
+ ("ruby-activesupport" ,ruby-activesupport)
+ ("ruby-rack" ,ruby-rack)
+ ("ruby-rack-test" ,ruby-rack-test)
+ ("ruby-rails-dom-testing" ,ruby-rails-dom-testing)
+ ("ruby-rails-html-sanitizer" ,ruby-rails-html-sanitizer)))
+ (synopsis "Conventions for building and testing MVC web applications")
+ (description
+ "ActionPack provides conventions for building and testing MVC web
+applications. These work with any Rack-compatible server.")
+ (home-page "https://rubyonrails.org/")
+ (license license:expat)))