gnu: ruby-hocon: Update to 1.4.0.

* gnu/packages/ruby.scm (ruby-hocon): Update to 1.4.0.
[arguments]: Update style.
This commit is contained in:
Christopher Baines 2023-06-18 12:09:26 +01:00
parent 9ff91468ee
commit 6eb15ac58e
No known key found for this signature in database
GPG key ID: 5E28A33B0B84F577

View file

@ -5977,7 +5977,7 @@ (define-public ruby-git
(define-public ruby-hocon
(package
(name "ruby-hocon")
(version "1.3.1")
(version "1.4.0")
(home-page "https://github.com/puppetlabs/ruby-hocon")
(source (origin
(method git-fetch)
@ -5985,16 +5985,17 @@ (define-public ruby-hocon
(file-name (git-file-name name version))
(sha256
(base32
"172hh2zr0n9nnszv0qvlgwszgkrq84yahrg053m68asy79zpmbqr"))))
"04wgv0pwrghawnl6qp346z59fvp9v37jymq8p0lsrzxa6nvrykmk"))))
(build-system ruby-build-system)
(arguments
'(#:phases (modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(if tests?
(invoke "rspec")
(format #t "test suite not run~%"))
#t)))))
(list
#:phases
#~(modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(if tests?
(invoke "rspec")
(format #t "test suite not run~%")))))))
(native-inputs
(list bundler ruby-rspec))
(synopsis "HOCON config library")