gnu: ocamlformat: Update to 0.22.4.

* gnu/packages/ocaml.scm (ocamlformat): Update to 0.22.4.
This commit is contained in:
Julien Lepiller 2022-06-18 10:28:05 +02:00
parent f25033d9ea
commit fcb23bf406
No known key found for this signature in database
GPG key ID: 53D457B2D636EE82

View file

@ -7996,7 +7996,7 @@ defined in OCaml 4.12.0.")
(define-public ocamlformat (define-public ocamlformat
(package (package
(name "ocamlformat") (name "ocamlformat")
(version "0.21.0") (version "0.22.4")
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
@ -8006,12 +8006,16 @@ defined in OCaml 4.12.0.")
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"10vy102a0isd8cg94y61pm4qfgy74d6003dw0qn0bdmbd19r5071")))) "171lq3vx4y8xj4by5zy93isx8nhg6ysxg1hxmkqkq16fdaiz8mnc"))))
(build-system dune-build-system) (build-system dune-build-system)
(arguments (arguments
'(#:package "ocamlformat" '(#:package "ocamlformat"
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
;; Tests related to other packages
(add-after 'unpack 'remove-unrelated-tests
(lambda _
(delete-file-recursively "test/rpc")))
(add-after 'unpack 'fix-test-format (add-after 'unpack 'fix-test-format
(lambda _ (lambda _
(substitute* "test/cli/repl_file_errors.t/run.t" (substitute* "test/cli/repl_file_errors.t/run.t"