mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-04 18:38:57 -05:00
gnu: ruby-benchmark-ips: Update to 2.12.0.
* gnu/packages/ruby.scm (ruby-benchmark-ips): Update to 2.12.0. [source]: Switch to git repository. [arguments]: Patch Gemfile and gemspec.
This commit is contained in:
parent
8cd697f8ff
commit
6937663eaa
1 changed files with 19 additions and 4 deletions
|
@ -8967,15 +8967,30 @@ (define-public ruby-middleware
|
||||||
(define-public ruby-benchmark-ips
|
(define-public ruby-benchmark-ips
|
||||||
(package
|
(package
|
||||||
(name "ruby-benchmark-ips")
|
(name "ruby-benchmark-ips")
|
||||||
(version "2.8.2")
|
(version "2.12.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method git-fetch) ;no tests in distributed gem
|
||||||
(uri (rubygems-uri "benchmark-ips" version))
|
(uri (git-reference
|
||||||
|
(url "https://github.com/evanphx/benchmark-ips")
|
||||||
|
(commit (string-append "v" version))))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1n9397j7kh4vvikfann1467qgksc679imlr50hax3lk1q3af8kdw"))))
|
"19pa2a1lgjzrxcz6vxwfiq5qq337vr15bbbpc2mfwzljdlx5059s"))))
|
||||||
(build-system ruby-build-system)
|
(build-system ruby-build-system)
|
||||||
|
(arguments
|
||||||
|
(list
|
||||||
|
#:phases
|
||||||
|
#~(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'patch
|
||||||
|
(lambda _
|
||||||
|
(substitute* "Gemfile"
|
||||||
|
(("gem 'rake'.*")
|
||||||
|
"gem 'rake'"))
|
||||||
|
(substitute* "benchmark-ips.gemspec"
|
||||||
|
(("git ls-files -- examples lib")
|
||||||
|
"find examples lib -type f | sort")))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list ruby-hoe))
|
(list ruby-hoe))
|
||||||
(synopsis "Iterations per second enhancement for the Ruby Benchmark module")
|
(synopsis "Iterations per second enhancement for the Ruby Benchmark module")
|
||||||
|
|
Loading…
Reference in a new issue