gnu: ruby-stackprof: Update to 0.2.27-0.5d83283.

* gnu/packages/ruby-xyz.scm (ruby-stackprof): Update to 0.2.27-0.5d83283.
This commit is contained in:
Nicolas Graves 2025-06-18 16:27:07 +02:00 committed by Andreas Enge
parent e8a9a07376
commit 8d005cdc82
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -9027,15 +9027,20 @@ navigation capabilities to @code{pry}, using @code{byebug}.")
(license license:expat))) (license license:expat)))
(define-public ruby-stackprof (define-public ruby-stackprof
(let ((commit "5d832832e4afcb88521292d6dfad4a9af760ef7c")
(revision "0"))
(package (package
(name "ruby-stackprof") (name "ruby-stackprof")
(version "0.2.27") (version (git-version "0.2.27" revision commit))
(source (source
(origin (origin
(method url-fetch) (method git-fetch)
(uri (rubygems-uri "stackprof" version)) (uri (git-reference
(url "https://github.com/tmm1/stackprof")
(commit commit)))
(file-name (git-file-name name version))
(sha256 (sha256
(base32 "03788mbipmihq2w7rznzvv0ks0s9z1321k1jyr6ffln8as3d5xmg")))) (base32 "184n5lpsclrw5ypcskk3gxbg28acxr5jkjaxlxc3nl4jzsjrammw"))))
(build-system ruby-build-system) (build-system ruby-build-system)
(arguments (arguments
(list (list
@ -9045,9 +9050,7 @@ navigation capabilities to @code{pry}, using @code{byebug}.")
(lambda _ (lambda _
(substitute* "stackprof.gemspec" (substitute* "stackprof.gemspec"
(("rake-compiler.*") (("rake-compiler.*")
"rake-compiler>.freeze, [\"> 0.9\"])\n") "rake-compiler', [\"> 0.9\"]\n"))))
(("mocha.*")
"mocha>.freeze, [\"> 0.14\"])\n"))))
(add-before 'check 'skip-dubious-test (add-before 'check 'skip-dubious-test
(lambda _ (lambda _
(substitute* "test/test_stackprof.rb" (substitute* "test/test_stackprof.rb"
@ -9067,13 +9070,13 @@ navigation capabilities to @code{pry}, using @code{byebug}.")
(when tests? (when tests?
(invoke "bundle" "exec" "rake" "default"))))))) (invoke "bundle" "exec" "rake" "default")))))))
(native-inputs (native-inputs
(list bundler ruby-mocha-1 ruby-rake-compiler)) (list bundler ruby-minitest ruby-rake-compiler))
(synopsis "Sampling profiler for Ruby code") (synopsis "Sampling profiler for Ruby code")
(description (description
"@code{stackprof} is a fast sampling profiler for Ruby code, with cpu, "@code{stackprof} is a fast sampling profiler for Ruby code, with cpu,
wallclock and object allocation samplers.") wallclock and object allocation samplers.")
(home-page "https://github.com/tmm1/stackprof") (home-page "https://github.com/tmm1/stackprof")
(license license:expat))) (license license:expat))))
(define-public ruby-bindex (define-public ruby-bindex
(package (package