guix_mirror_bot pushed a commit to branch ruby-team
in repository guix.
commit 1b68b260b025c6b306caee31afeb0ae24a298567
Author: Nicolas Graves <[email protected]>
AuthorDate: Sun Feb 16 01:34:36 2025 +0100
gnu: ruby-rubocop-rspec-minimal: Avoid ruby-danger dependency.
* gnu/packages/ruby.scm (ruby-rubocop-rspec-minimal):
[arguments]<#:phases>: Add phase 'relax-requirements.
Signed-off-by: Sharlatan Hellseher <[email protected]>
---
gnu/packages/ruby.scm | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 1495148b5f..f2187d948a 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -2131,7 +2131,14 @@ enforcing & linting tool for @code{factory_bot} files.")
(base32
"1w9whadx60kv4vlbnk77b5yyhhfcg717r9cr334zqznqr1bqr8mh"))))
(build-system ruby-build-system)
- (arguments (list #:tests? #f)) ;avoid extra dependencies
+ (arguments
+ (list #:tests? #f ;avoid extra dependencies
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'relax-requirements
+ (lambda _
+ (substitute* "Gemfile"
+ (("gem 'danger'.*") "")))))))
(propagated-inputs (list ruby-rubocop-factory-bot))
(synopsis "Code style checking for RSpec files")
(description "This package provides a plugin for the RuboCop code style