aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2020-06-27 00:33:33 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2020-06-27 00:33:33 -0400
commitd7bd7016e87f6690e6b7e3f79bf0c147df7631ac (patch)
treefc568ccd97d056e99844caf87f77e77dbf586e0a
parent1d537c71966756fe4e15c263dea7fb2cfaadfc2b (diff)
downloadguix-d7bd7016e87f6690e6b7e3f79bf0c147df7631ac.tar.gz
guix-d7bd7016e87f6690e6b7e3f79bf0c147df7631ac.zip
gnu: Add ruby-rspec-its-minimal.
* gnu/packages/ruby.scm (ruby-rspec-its-minimal): New variable. (ruby-addressable)[native-inputs]: Use it instead of ruby-rspec-its.
-rw-r--r--gnu/packages/ruby.scm12
1 files changed, 11 insertions, 1 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index ba76d5019a..ec5a0fec09 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -679,6 +679,16 @@ eq(1)\\}}.")
(home-page "https://github.com/rspec/rspec-its")
(license license:expat)))
+;;; This variant is used to break a cycle with ruby-protobuf.
+(define-public ruby-rspec-its-minimal
+ (hidden-package
+ (package
+ (inherit ruby-rspec-its)
+ (arguments
+ (substitute-keyword-arguments (package-arguments ruby-rspec-its)
+ ((#:tests? _ #f) #f)))
+ (native-inputs '()))))
+
(define-public ruby-rspec-mocks
(package
(name "ruby-rspec-mocks")
@@ -8197,7 +8207,7 @@ all known public suffixes.")
("bundler" ,bundler)
("ruby-idn-ruby" ,ruby-idn-ruby)
("ruby-sporkmonger-rack-mount" ,ruby-sporkmonger-rack-mount)
- ("ruby-rspec-its", ruby-rspec-its)
+ ("ruby-rspec-its", ruby-rspec-its-minimal)
("ruby-yard" ,ruby-yard)
("ruby-simplecov" ,ruby-simplecov)))
(propagated-inputs