summaryrefslogtreecommitdiff
path: root/gnu/packages/ruby.scm
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-01-31 09:19:52 +0100
committerAndreas Enge <andreas@enge.fr>2025-06-20 20:39:55 +0200
commita25b68d922277b4a30db82c8725332bd2c9ef708 (patch)
tree2af3ad7c0b41366e23b78af969de47700ee2d0ad /gnu/packages/ruby.scm
parentf8acd6a9190b3799728985b4a84dd93444090d42 (diff)
gnu: Add ruby-bindex.
* gnu/packages/ruby.scm (ruby-bindex): New variable. Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/ruby.scm')
-rw-r--r--gnu/packages/ruby.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index d26680635af..61a4479e5a3 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -10027,6 +10027,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")