aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2020-07-01 00:05:12 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2020-07-01 00:05:12 -0400
commitacb288767bb05396ac986edad8537d68a4322dff (patch)
treeeca89048dde77cdad4bbf5d8b580983e42544c5e /gnu
parent7aa00628a53648be090b8113a882a94fe3a67637 (diff)
downloadguix-acb288767bb05396ac986edad8537d68a4322dff.tar.gz
guix-acb288767bb05396ac986edad8537d68a4322dff.zip
gnu: Add ruby-pry-byebug.
* gnu/packages/ruby.scm (ruby-pry-byebug): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/ruby.scm34
1 files changed, 34 insertions, 0 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 41791db045..eeb3513b1a 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -6239,6 +6239,40 @@ notes.")
(home-page "https://github.com/mattbrictson/chandler")
(license license:expat)))
+(define-public ruby-pry-byebug
+ (package
+ (name "ruby-pry-byebug")
+ (version "3.9.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/deivid-rodriguez/pry-byebug.git")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1kchrwccai92068p50zyd6mh524ywqnm0jw5g3lks7iwmf0xkmgc"))))
+ (build-system ruby-build-system)
+ (arguments
+ `(#:phases (modify-phases %standard-phases
+ (add-before 'check 'set-home
+ (lambda _
+ (setenv "HOME" (getcwd))
+ #t)))))
+ (native-inputs
+ `(("ruby-chandler" ,ruby-chandler)
+ ("ruby-rubocop" ,ruby-rubocop)
+ ("ruby-simplecov" ,ruby-simplecov)))
+ (propagated-inputs
+ `(("ruby-byebug" ,ruby-byebug-11)
+ ("ruby-pry" ,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}.")
+ (home-page "https://github.com/deivid-rodriguez/pry-byebug")
+ (license license:expat)))
+
(define-public ruby-gherkin
(package
(name "ruby-gherkin")