diff options
| author | Efraim Flashner <efraim@flashner.co.il> | 2021-09-12 14:51:30 +0300 |
|---|---|---|
| committer | Efraim Flashner <efraim@flashner.co.il> | 2021-09-12 15:35:21 +0300 |
| commit | cffc4124d4c4d4e6fbedf0ce931058d6612c2931 (patch) | |
| tree | 79c72aaef2e84fcc98948dcb1ec40d7d77792422 /gnu/packages | |
| parent | 4c542f32aa4221b270a9ab590b58258c179d5362 (diff) | |
gnu: ruby-byebug-11: Make default ruby-byebug.
* gnu/packages/ruby.scm (ruby-byebug-11): Rename to ruby-byebug.
(ruby-pry-byebug)[propagated-inputs]: Use ruby-byebug.
Diffstat (limited to 'gnu/packages')
| -rw-r--r-- | gnu/packages/ruby.scm | 41 |
1 files changed, 12 insertions, 29 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index addbcef16b3..b407d6d0e25 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm | |||
| @@ -6653,31 +6653,6 @@ with PostgreSQL 9.0 and later.") | |||
| 6653 | (define-public ruby-byebug | 6653 | (define-public ruby-byebug |
| 6654 | (package | 6654 | (package |
| 6655 | (name "ruby-byebug") | 6655 | (name "ruby-byebug") |
| 6656 | (version "9.0.6") | ||
| 6657 | (source | ||
| 6658 | (origin | ||
| 6659 | (method url-fetch) | ||
| 6660 | (uri (rubygems-uri "byebug" version)) | ||
| 6661 | (sha256 | ||
| 6662 | (base32 | ||
| 6663 | "1kbfcn65rgdhi72n8x9l393b89rvi5z542459k7d1ggchpb0idb0")))) | ||
| 6664 | (build-system ruby-build-system) | ||
| 6665 | (arguments | ||
| 6666 | '(#:tests? #f)) ; no tests | ||
| 6667 | (synopsis "Debugger for Ruby 2") | ||
| 6668 | (description "Byebug is a Ruby 2 debugger implemented using the Ruby 2 | ||
| 6669 | TracePoint C API for execution control and the Debug Inspector C API for call | ||
| 6670 | stack navigation. The core component provides support that front-ends can | ||
| 6671 | build on. It provides breakpoint handling and bindings for stack frames among | ||
| 6672 | other things and it comes with a command line interface.") | ||
| 6673 | (home-page "https://github.com/deivid-rodriguez/byebug") | ||
| 6674 | (license license:bsd-2))) | ||
| 6675 | |||
| 6676 | ;;; TODO: Make it the default byebug in core-updates. | ||
| 6677 | (define-public ruby-byebug-11 | ||
| 6678 | (package | ||
| 6679 | (inherit ruby-byebug) | ||
| 6680 | (name "ruby-byebug") | ||
| 6681 | (version "11.1.3") | 6656 | (version "11.1.3") |
| 6682 | (source | 6657 | (source |
| 6683 | (origin | 6658 | (origin |
| @@ -6701,9 +6676,9 @@ other things and it comes with a command line interface.") | |||
| 6701 | (("load File\\.expand_path\\(\"bundle\".*") "") | 6676 | (("load File\\.expand_path\\(\"bundle\".*") "") |
| 6702 | (("require \"bundler/setup\".*") ""))) | 6677 | (("require \"bundler/setup\".*") ""))) |
| 6703 | #t)))) | 6678 | #t)))) |
| 6679 | (build-system ruby-build-system) | ||
| 6704 | (arguments | 6680 | (arguments |
| 6705 | `(#:tests? #t | 6681 | `(#:phases |
| 6706 | #:phases | ||
| 6707 | (modify-phases %standard-phases | 6682 | (modify-phases %standard-phases |
| 6708 | (add-after 'unpack 'skip-tmp-path-sensitive-test | 6683 | (add-after 'unpack 'skip-tmp-path-sensitive-test |
| 6709 | (lambda _ | 6684 | (lambda _ |
| @@ -6725,7 +6700,15 @@ other things and it comes with a command line interface.") | |||
| 6725 | ("ruby-pry" ,ruby-pry) | 6700 | ("ruby-pry" ,ruby-pry) |
| 6726 | ("ruby-rake-compiler" ,ruby-rake-compiler) | 6701 | ("ruby-rake-compiler" ,ruby-rake-compiler) |
| 6727 | ("ruby-rubocop" ,ruby-rubocop) | 6702 | ("ruby-rubocop" ,ruby-rubocop) |
| 6728 | ("ruby-yard" ,ruby-yard))))) | 6703 | ("ruby-yard" ,ruby-yard))) |
| 6704 | (synopsis "Debugger for Ruby 2") | ||
| 6705 | (description "Byebug is a Ruby 2 debugger implemented using the Ruby 2 | ||
| 6706 | TracePoint C API for execution control and the Debug Inspector C API for call | ||
| 6707 | stack navigation. The core component provides support that front-ends can | ||
| 6708 | build on. It provides breakpoint handling and bindings for stack frames among | ||
| 6709 | other things and it comes with a command line interface.") | ||
| 6710 | (home-page "https://github.com/deivid-rodriguez/byebug") | ||
| 6711 | (license license:bsd-2))) | ||
| 6729 | 6712 | ||
| 6730 | (define-public ruby-netrc | 6713 | (define-public ruby-netrc |
| 6731 | (package | 6714 | (package |
| @@ -7674,7 +7657,7 @@ notes.") | |||
| 7674 | ("ruby-rubocop" ,ruby-rubocop) | 7657 | ("ruby-rubocop" ,ruby-rubocop) |
| 7675 | ("ruby-simplecov" ,ruby-simplecov))) | 7658 | ("ruby-simplecov" ,ruby-simplecov))) |
| 7676 | (propagated-inputs | 7659 | (propagated-inputs |
| 7677 | `(("ruby-byebug" ,ruby-byebug-11) | 7660 | `(("ruby-byebug" ,ruby-byebug) |
| 7678 | ("ruby-pry" ,ruby-pry))) | 7661 | ("ruby-pry" ,ruby-pry))) |
| 7679 | (synopsis "Step-by-step debugging and stack navigation in Pry") | 7662 | (synopsis "Step-by-step debugging and stack navigation in Pry") |
| 7680 | (description "This package adds step-by-step debugging and stack | 7663 | (description "This package adds step-by-step debugging and stack |
