diff mbox series

[bug#62196,215/223] gnu: Add ruby-ammeter.

Message ID 20230320172933.13101-14-maxim.cournoyer@gmail.com
State New
Headers show
Series None | expand

Commit Message

Maxim Cournoyer March 20, 2023, 5:29 p.m. UTC
* gnu/packages/rails.scm (ruby-ammeter): New variable.
---

 gnu/packages/rails.scm | 10 ++++++++++
 1 file changed, 10 insertions(+)
diff mbox series

Patch

diff --git a/gnu/packages/rails.scm b/gnu/packages/rails.scm
index 8ca4ac2997..0f8d3a7613 100644
--- a/gnu/packages/rails.scm
+++ b/gnu/packages/rails.scm
@@ -836,6 +836,16 @@  (define ruby-ammeter-bootstrap
     (home-page "https://github.com/alexrothenberg/ammeter")
     (license license:expat)))
 
+(define-public ruby-ammeter
+  (package/inherit ruby-ammeter-bootstrap
+    (name "ruby-ammeter")
+    ;; TODO: The test suite requires multiple packages which are not packaged
+    ;; yet.
+    (arguments (list #:tests? #f))
+    (propagated-inputs
+     (modify-inputs (package-propagated-inputs ruby-ammeter-bootstrap)
+       (append ruby-rspec-rails)))))
+
 (define-public ruby-bootsnap
   (package
     (name "ruby-bootsnap")