mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: ruby-oj: Update to 3.16.9.
* gnu/packages/ruby-xyz.scm (ruby-oj): Update to 3.16.9. [native-inputs]: Add bash-minimal. [arguments]{phases}: Add 'patch-bash phase.
This commit is contained in:
parent
8735076656
commit
7a9b496194
1 changed files with 9 additions and 3 deletions
|
@ -65,6 +65,7 @@
|
||||||
#:use-module (gnu packages)
|
#:use-module (gnu packages)
|
||||||
#:use-module (gnu packages)
|
#:use-module (gnu packages)
|
||||||
#:use-module (gnu packages base)
|
#:use-module (gnu packages base)
|
||||||
|
#:use-module (gnu packages bash)
|
||||||
#:use-module (gnu packages bison)
|
#:use-module (gnu packages bison)
|
||||||
#:use-module (gnu packages c)
|
#:use-module (gnu packages c)
|
||||||
#:use-module (gnu packages check)
|
#:use-module (gnu packages check)
|
||||||
|
@ -7625,7 +7626,7 @@ lock with a counter.")
|
||||||
(define-public ruby-oj
|
(define-public ruby-oj
|
||||||
(package
|
(package
|
||||||
(name "ruby-oj")
|
(name "ruby-oj")
|
||||||
(version "3.13.9")
|
(version "3.16.9")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
|
@ -7637,19 +7638,24 @@ lock with a counter.")
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0a24zd28y58nyhjxgrpn2k9p72vzj3zbmdrcsbhwbdycj7nn9fpd"))))
|
"01zsvzgpn336lk93v8fr4lpjdl28hiq9iddxr7rcra3d28780fzi"))))
|
||||||
(build-system ruby-build-system)
|
(build-system ruby-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:test-target "test_all"
|
'(#:test-target "test_all"
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'patch-bash
|
||||||
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
|
(substitute* "test/test_writer.rb"
|
||||||
|
(("/bin/bash")
|
||||||
|
(search-input-file inputs "bin/bash")))))
|
||||||
(add-before 'check 'disable-bundler
|
(add-before 'check 'disable-bundler
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "Rakefile"
|
(substitute* "Rakefile"
|
||||||
(("Bundler\\.with_clean_env") "1.times")
|
(("Bundler\\.with_clean_env") "1.times")
|
||||||
(("bundle exec ") "")))))))
|
(("bundle exec ") "")))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list bundler ruby-rspec ruby-rake-compiler))
|
(list bash-minimal bundler ruby-rspec ruby-rake-compiler))
|
||||||
(synopsis "JSON parser for Ruby optimized for speed")
|
(synopsis "JSON parser for Ruby optimized for speed")
|
||||||
(description
|
(description
|
||||||
"Oj is a JSON parser and generator for Ruby, where the encoding and
|
"Oj is a JSON parser and generator for Ruby, where the encoding and
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue