mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-20 01:33:18 -05:00
gnu: ruby-ruby-parser: Update to 3.20.2.
* gnu/packages/ruby.scm (ruby-ruby-parser): Update to 3.20.2. [arguments]: Patch Rakefile. [native-inputs]: Add bison and ruby-minitest.
This commit is contained in:
parent
ac0d3428fb
commit
3f14b1b4f7
1 changed files with 18 additions and 3 deletions
|
@ -6645,17 +6645,32 @@ (define-public ruby-sexp-processor
|
||||||
(define-public ruby-ruby-parser
|
(define-public ruby-ruby-parser
|
||||||
(package
|
(package
|
||||||
(name "ruby-ruby-parser")
|
(name "ruby-ruby-parser")
|
||||||
(version "3.14.2")
|
(version "3.20.2")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (rubygems-uri "ruby_parser" version))
|
(uri (rubygems-uri "ruby_parser" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"09qcdyjjw3p7g6cjm5m9swkms1xnv35ndiy7yw24cas16qrhha6c"))))
|
"0q851n8654wkjrq8jawq8vi5yhr1y9vpyr2vj7cnn3sa4ikg6d3z"))))
|
||||||
(build-system ruby-build-system)
|
(build-system ruby-build-system)
|
||||||
|
(arguments
|
||||||
|
(list
|
||||||
|
#:phases
|
||||||
|
#~(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'patch
|
||||||
|
(lambda _
|
||||||
|
(substitute* "Rakefile"
|
||||||
|
(("`which bison`")
|
||||||
|
(string-append "\"" (which "bison") "\""))
|
||||||
|
(("which unifdef")
|
||||||
|
(which "unifdef"))))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list ruby-hoe ruby-racc unifdef))
|
(list ruby-hoe
|
||||||
|
ruby-racc
|
||||||
|
unifdef
|
||||||
|
bison
|
||||||
|
ruby-minitest))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(list ruby-sexp-processor))
|
(list ruby-sexp-processor))
|
||||||
(home-page "https://github.com/seattlerb/ruby_parser/")
|
(home-page "https://github.com/seattlerb/ruby_parser/")
|
||||||
|
|
Loading…
Reference in a new issue