sharlatan pushed a commit to branch ruby-team
in repository guix.
commit 521d19cab000b8aa144f5367d1a58252407b65e9
Author: Nicolas Graves <[email protected]>
AuthorDate: Fri Jan 31 09:19:52 2025 +0100
gnu: Add ruby-bindex.
* gnu/packages/ruby.scm (ruby-bindex): New variable.
Signed-off-by: Sharlatan Hellseher <[email protected]>
---
gnu/packages/ruby.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 3e1712dde2..8dc0daa8ef 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -10007,6 +10007,32 @@ wallclock and object allocation samplers.")
(home-page "https://github.com/tmm1/stackprof")
(license license:expat)))
+(define-public ruby-bindex
+ (package
+ (name "ruby-bindex")
+ (version "0.8.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (rubygems-uri "bindex" version))
+ (sha256
+ (base32 "0zmirr3m02p52bzq4xgksq4pn8j641rx5d4czk68pv9rqnfwq7kv"))))
+ (build-system ruby-build-system)
+ (arguments
+ (list #:test-target "default"
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'avoid-bundler
+ (lambda _
+ (substitute* "Rakefile"
+ (("^Bundler::.*") "")))))))
+ (native-inputs (list bundler ruby-rake-compiler))
+ (synopsis "Bindings for Ruby exceptions")
+ (description
+ "This package provides bindings for any kind of Ruby exceptions.")
+ (home-page "https://github.com/gsamokovarov/bindex")
+ (license license:expat)))
+
(define-public ruby-binding-of-caller
(package
(name "ruby-binding-of-caller")