gnu: ruby-shindo: Update to 0.3.10.

* gnu/packages/ruby.scm (ruby-shindo): Update to 0.3.10.
[arguments]: Update style.
This commit is contained in:
Christopher Baines 2023-06-18 11:52:41 +01:00
parent be094d9038
commit c7f93b1b85
No known key found for this signature in database
GPG key ID: 5E28A33B0B84F577

View file

@ -3629,28 +3629,28 @@ (define-public ruby-hydra
(define-public ruby-shindo (define-public ruby-shindo
(package (package
(name "ruby-shindo") (name "ruby-shindo")
(version "0.3.8") (version "0.3.10")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (rubygems-uri "shindo" version)) (uri (rubygems-uri "shindo" version))
(sha256 (sha256
(base32 (base32
"0s8v1jbz8i0jh92f2fgxb3p51l1azrpkc8nv4mhrqy4vndpvd7wq")))) "0qnqixhi0g8v44v13f3gynpbvvw6xqi1wajsxdjsx5rhzizfsj91"))))
(build-system ruby-build-system) (build-system ruby-build-system)
(arguments (arguments
`(#:test-target "shindo_tests" (list
#:phases #:test-target "shindo_tests"
(modify-phases %standard-phases #:phases
(add-after 'unpack 'fix-tests #~(modify-phases %standard-phases
(lambda _ (add-after 'unpack 'fix-tests
(substitute* "tests/tests_helper.rb" (lambda _
(("-rubygems") "")) (substitute* "tests/tests_helper.rb"
(substitute* "Rakefile" (("-rubygems") ""))
(("system \"shindo") "system \"./bin/shindo") (substitute* "Rakefile"
;; This test doesn't work, so we disable it. (("system \"shindo") "system \"./bin/shindo")
(("fail \"The build_error test should fail") "#") ;; This test doesn't work, so we disable it.
((" -rubygems") "")) (("fail \"The build_error test should fail") "#")
#t))))) ((" -rubygems") "")))))))
(propagated-inputs (propagated-inputs
(list ruby-formatador)) (list ruby-formatador))
(synopsis "Simple depth first Ruby testing") (synopsis "Simple depth first Ruby testing")