summary refs log tree commit diff
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2023-03-13 11:32:13 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2023-03-28 22:22:39 -0400
commit0ee681728902c01db4233f10bea40a15e03453bd (patch)
tree4fc0af2395a52925d0d0b6628ae9298f518c0ab9
parentefbdb3452b25d6f130dfff40f95598e4107c1344 (diff)
downloadguix-0ee681728902c01db4233f10bea40a15e03453bd.tar.gz
gnu: Add ruby-stimulus-rails.
* gnu/packages/rails.scm (ruby-stimulus-rails): New variable.
-rw-r--r--gnu/packages/rails.scm18
1 files changed, 18 insertions, 0 deletions
diff --git a/gnu/packages/rails.scm b/gnu/packages/rails.scm
index 8f174920ec..925b95c3b2 100644
--- a/gnu/packages/rails.scm
+++ b/gnu/packages/rails.scm
@@ -1226,6 +1226,24 @@ serves JavaScript, CoffeeScript, CSS, LESS, Sass, and SCSS.")
     "https://github.com/rails/sprockets-rails")
    (license license:expat)))
 
+(define-public ruby-stimulus-rails
+  (package
+    (name "ruby-stimulus-rails")
+    (version "1.2.1")
+    (source (origin
+              (method url-fetch)
+              (uri (rubygems-uri "stimulus-rails" version))
+              (sha256
+               (base32
+                "12hfdzh6cwahbd6p4r0r0d14n3laj3cqasx9w18wga9fq70bq6w3"))))
+    (build-system ruby-build-system)
+    (propagated-inputs (list ruby-railties))
+    (synopsis "Modest JavaScript framework for Rails")
+    (description "This package provides a modest JavaScript framework for the
+HTML you already have.")
+    (home-page "https://stimulus.hotwired.dev")
+    (license license:expat)))
+
 (define-public ruby-web-console
   (package
     (name "ruby-web-console")