gnu: ruby-introspection: Adjust inputs.

* gnu/packages/ruby.scm (ruby-introspection)[arguments]: Remove.
[propagated-inputs]: Remove ruby-instantiator.
[native-inputs]: Remove ruby-test-unit.
This commit is contained in:
Christopher Baines 2023-06-22 10:50:21 +01:00
parent adfe69262f
commit d610c79b9e
No known key found for this signature in database
GPG key ID: 5E28A33B0B84F577

View file

@ -5139,24 +5139,11 @@ (define-public ruby-introspection
(base32
"1y2nbijkc0zlfmn9ss6588ilarq2kbn2i7w7pwwsli66dj84zgca"))))
(build-system ruby-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(add-after 'unpack 'add-test-unit-to-search-path
(lambda* (#:key inputs #:allow-other-keys)
(let* ((test-unit (assoc-ref inputs "ruby-test-unit")))
(substitute* "Rakefile"
(("t\\.libs << \"test\"" line)
(string-append line "; t.libs << \""
test-unit "/lib/ruby/vendor_ruby"
"/gems/test-unit-"
,(package-version ruby-test-unit)
"/lib\""))))
#t)))))
(propagated-inputs
(list ruby-instantiator ruby-metaclass))
(list ruby-metaclass))
(native-inputs
(list bundler ruby-blankslate ruby-test-unit))
(list bundler
ruby-blankslate))
(synopsis "Dynamic inspection of the method hierarchy on a Ruby object")
(description
"Introspection provides tools to inspect the hierarchy of method