[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
15/38: gnu: Add ruby-byebug-11.
From: |
guix-commits |
Subject: |
15/38: gnu: Add ruby-byebug-11. |
Date: |
Wed, 8 Jul 2020 23:42:30 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit 7aa00628a53648be090b8113a882a94fe3a67637
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Tue Jun 30 22:28:19 2020 -0400
gnu: Add ruby-byebug-11.
* gnu/packages/ruby.scm (ruby-byebug-11): New variable.
---
gnu/packages/ruby.scm | 54 +++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 54 insertions(+)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 5d12e34..41791db 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -5548,6 +5548,60 @@ other things and it comes with a command line
interface.")
(home-page "https://github.com/deivid-rodriguez/byebug")
(license license:bsd-2)))
+;;; TODO: Make it the default byebug in core-updates.
+(define-public ruby-byebug-11
+ (package
+ (inherit ruby-byebug)
+ (name "ruby-byebug")
+ (version "11.1.3")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/deivid-rodriguez/byebug.git")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0vyy3k2s7dcndngj6m8kxhs1vxc2c93dw8b3yyand3srsg9ffpij"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin
+ ;; Remove wrappers that try to setup a bundle environment.
+ (with-directory-excursion "bin"
+ (for-each delete-file '("bundle" "rake" "rubocop"))
+ ;; ruby-minitest doesn't come with a launcher, so fix the one
+ ;; provided.
+ (substitute* "minitest"
+ (("load File\\.expand_path\\(\"bundle\".*") "")
+ (("require \"bundler/setup\".*") "")))
+ #t))))
+ (arguments
+ `(#:tests? #t
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'skip-tmp-path-sensitive-test
+ (lambda _
+ (substitute* "test/commands/where_test.rb"
+ (("unless /cygwin\\|mswin\\|mingw\\|darwin/.*")
+ "unless true\n"))
+ #t))
+ (add-before 'build 'compile
+ (lambda _
+ (invoke "rake" "compile")))
+ (add-before 'check 'set-home
+ (lambda _
+ (setenv "HOME" (getcwd))
+ #t)))))
+ (native-inputs
+ `(("bundler" ,bundler)
+ ("ruby-chandler" ,ruby-chandler)
+ ("ruby-minitest" ,ruby-minitest)
+ ("ruby-pry" ,ruby-pry)
+ ("ruby-rake-compiler" ,ruby-rake-compiler)
+ ("ruby-rubocop" ,ruby-rubocop)
+ ("ruby-yard" ,ruby-yard)))))
+
(define-public ruby-netrc
(package
(name "ruby-netrc")
- 06/38: gnu: Add ruby-octokit., (continued)
- 06/38: gnu: Add ruby-octokit., guix-commits, 2020/07/08
- 14/38: gnu: ruby-ruby-engine: Update to 2.0.0., guix-commits, 2020/07/08
- 11/38: gnu: ruby-method-source: Update to 1.0.0., guix-commits, 2020/07/08
- 12/38: gnu: bundler: Update to 2.1.4., guix-commits, 2020/07/08
- 04/38: gnu: Add ruby-ffi-rzmq., guix-commits, 2020/07/08
- 07/38: gnu: Add ruby-chandler., guix-commits, 2020/07/08
- 08/38: gnu: Add ruby-kpeg., guix-commits, 2020/07/08
- 09/38: gnu: ruby-rdoc: Update to 6.2.0., guix-commits, 2020/07/08
- 10/38: gnu: ruby-pry: Update to 0.13.1., guix-commits, 2020/07/08
- 13/38: gnu: ruby-rake: Update to 13.0.1., guix-commits, 2020/07/08
- 15/38: gnu: Add ruby-byebug-11.,
guix-commits <=
- 16/38: gnu: Add ruby-pry-byebug., guix-commits, 2020/07/08
- 17/38: gnu: Add ruby-binding-of-caller., guix-commits, 2020/07/08
- 19/38: gnu: Add ruby-varint., guix-commits, 2020/07/08
- 20/38: gnu: Add ruby-ruby-prof., guix-commits, 2020/07/08
- 26/38: gnu: Add ruby-unindent., guix-commits, 2020/07/08
- 25/38: gnu: Add ruby-coveralls., guix-commits, 2020/07/08
- 30/38: gnu: Add ruby-cucumber-create-meta., guix-commits, 2020/07/08
- 22/38: gnu: Add ruby-protobuf-cucumber., guix-commits, 2020/07/08
- 24/38: gnu: ruby-gherkin: Update to 14.0.1., guix-commits, 2020/07/08
- 18/38: gnu: Add ruby-pry-stack-explorer., guix-commits, 2020/07/08