Subject: [PATCH 36/39] gnu: Add ruby-sprockets-rails.

From: Christopher Baines <[email-masked]>
Date: Mon, 28 Jan 2019 17:36:17 +0000

* gnu/packages/rails.scm (ruby-sprockets-rails): New variable.
---
 gnu/packages/rails.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/rails.scm b/gnu/packages/rails.scm
index e5f19a4742..6bcfe2667d 100644
--- a/gnu/packages/rails.scm
+++ b/gnu/packages/rails.scm
@@ -360,3 +360,29 @@ pattern.  Including support for multipart email and attachments.")
 application bootup, plugins, generators, and Rake tasks.")
    (home-page "https://rubyonrails.org/")
    (license license:expat)))
+
+(define-public ruby-sprockets-rails
+  (package
+   (name "ruby-sprockets-rails")
+   (version "3.2.1")
+   (source
+    (origin
+     (method url-fetch)
+     (uri (rubygems-uri "sprockets-rails" version))
+     (sha256
+      (base32
+       "0ab42pm8p5zxpv3sfraq45b9lj39cz9mrpdirm30vywzrwwkm5p1"))))
+   (build-system ruby-build-system)
+   (arguments
+    '(;; No included tests
+      #:tests? #f))
+   (propagated-inputs
+    `(("ruby-actionpack" ,ruby-actionpack)
+      ("ruby-activesupport" ,ruby-activesupport)
+      ("ruby-sprockets" ,ruby-sprockets)))
+   (synopsis "Sprockets Rails integration")
+   (description
+    "Provides Sprockets implementation for the Rails Asset Pipeline.")
+   (home-page
+    "https://github.com/rails/sprockets-rails")
+   (license license:expat)))
-- 
2.20.1