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.
This commit is contained in:
Maxim Cournoyer 2020-06-27 00:33:33 -04:00
parent 1d537c7196
commit d7bd7016e8
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -679,6 +679,16 @@ (define-public ruby-rspec-its
(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 @@ (define-public ruby-addressable
("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