gnu: ruby-pry-byebug: Avoid depending on ruby-chandler.

* gnu/packages/ruby.scm (ruby-pry-byebug) [phases]: Add sanitize-dependencies
phase.
[native-inputs]: Remove ruby-chandler, an unmaintained library.
This commit is contained in:
Maxim Cournoyer 2023-01-08 22:32:35 -05:00
parent a63d75b104
commit 2eea8aa751
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -7963,14 +7963,15 @@ (define-public ruby-pry-byebug
(build-system ruby-build-system)
(arguments
`(#:phases (modify-phases %standard-phases
(add-after 'unpack 'sanitize-dependencies
(lambda _
(substitute* "Rakefile"
((".*chandler/tasks.*") ""))))
(add-before 'check 'set-home
(lambda _
(setenv "HOME" (getcwd))
#t)))))
(native-inputs
(list ruby-chandler ruby-rubocop ruby-simplecov))
(propagated-inputs
(list ruby-byebug ruby-pry))
(setenv "HOME" (getcwd)))))))
(native-inputs (list ruby-rubocop ruby-simplecov))
(propagated-inputs (list ruby-byebug ruby-pry))
(synopsis "Step-by-step debugging and stack navigation in Pry")
(description "This package adds step-by-step debugging and stack
navigation capabilities to @code{pry}, using @code{byebug}.")