mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-23 11:09:41 -05:00
gnu: Add ruby-pry-rescue.
* gnu/packages/ruby.scm (ruby-pry-rescue): New variable. Signed-off-by: Raghav Gururajan <rg@raghavgururajan.name>
This commit is contained in:
parent
7cd6ac428a
commit
d769b7e124
1 changed files with 31 additions and 0 deletions
|
@ -12845,3 +12845,34 @@ (define-public ruby-interception
|
|||
(description "Interception provides a cross-platform ability to intercept all
|
||||
exceptions as they are raised.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public ruby-pry-rescue
|
||||
(package
|
||||
(name "ruby-pry-rescue")
|
||||
(version "1.5.2")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (rubygems-uri "pry-rescue" version))
|
||||
(sha256
|
||||
(base32 "1wn72y8y3d3g0ng350ld92nyjln012432q2z2iy9lhwzjc4dwi65"))))
|
||||
(build-system ruby-build-system)
|
||||
(arguments
|
||||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'nuke-bad-test
|
||||
(lambda _
|
||||
(substitute* "spec/source_location_spec.rb"
|
||||
(("time = Time.now") "skip")))))))
|
||||
(native-inputs
|
||||
(list ruby-rspec
|
||||
ruby-pry-stack-explorer))
|
||||
(propagated-inputs
|
||||
(list ruby-interception
|
||||
ruby-pry))
|
||||
(home-page
|
||||
"https://github.com/ConradIrwin/pry-rescue")
|
||||
(synopsis "Start Pry session for rescue")
|
||||
(description "Pry-Rescue allows you to wrap code, to open a pry session at
|
||||
any unhandled exceptions.")
|
||||
(license license:expat)))
|
||||
|
|
Loading…
Reference in a new issue