diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-02-16 01:34:36 +0100 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2025-06-20 20:40:01 +0200 |
| commit | 00b037291f4be26ddd7c6dd88b13d57424a81e6e (patch) | |
| tree | 918d176e29fdbcd7c4e82f5b2056b49e1681e364 /gnu/packages/ruby.scm | |
| parent | 17bdacd56bf611d03890ce676f8792b9275e8826 (diff) | |
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 <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/ruby.scm')
| -rw-r--r-- | gnu/packages/ruby.scm | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 1304519fe38..b2b4441cb19 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm | |||
| @@ -2137,7 +2137,14 @@ enforcing & linting tool for @code{factory_bot} files.") | |||
| 2137 | (base32 | 2137 | (base32 |
| 2138 | "1w9whadx60kv4vlbnk77b5yyhhfcg717r9cr334zqznqr1bqr8mh")))) | 2138 | "1w9whadx60kv4vlbnk77b5yyhhfcg717r9cr334zqznqr1bqr8mh")))) |
| 2139 | (build-system ruby-build-system) | 2139 | (build-system ruby-build-system) |
| 2140 | (arguments (list #:tests? #f)) ;avoid extra dependencies | 2140 | (arguments |
| 2141 | (list #:tests? #f ;avoid extra dependencies | ||
| 2142 | #:phases | ||
| 2143 | #~(modify-phases %standard-phases | ||
| 2144 | (add-after 'unpack 'relax-requirements | ||
| 2145 | (lambda _ | ||
| 2146 | (substitute* "Gemfile" | ||
| 2147 | (("gem 'danger'.*") ""))))))) | ||
| 2141 | (propagated-inputs (list ruby-rubocop-factory-bot)) | 2148 | (propagated-inputs (list ruby-rubocop-factory-bot)) |
| 2142 | (synopsis "Code style checking for RSpec files") | 2149 | (synopsis "Code style checking for RSpec files") |
| 2143 | (description "This package provides a plugin for the RuboCop code style | 2150 | (description "This package provides a plugin for the RuboCop code style |
