gnu: ocaml-bisect-ppx: Update to 2.6.1.

* gnu/packages/ocaml.scm (ocaml-bisect-ppx): Update to 2.6.1.
[propagated-inputs]: Adjust accordingly.
[arguments]: Remove unnecessary phase; disable tests.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
This commit is contained in:
Xinglu Chen 2021-06-21 12:01:49 +02:00 committed by Julien Lepiller
parent e81cf4e79a
commit e473fe1056
No known key found for this signature in database
GPG key ID: 53D457B2D636EE82

View file

@ -6536,7 +6536,7 @@ (define-public ocaml-tyxml
(define-public ocaml-bisect-ppx (define-public ocaml-bisect-ppx
(package (package
(name "ocaml-bisect-ppx") (name "ocaml-bisect-ppx")
(version "1.4.2") (version "2.6.1")
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
@ -6546,24 +6546,14 @@ (define-public ocaml-bisect-ppx
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"0900vli5kw7s5kdam0n4cqsfsfqb7mdb3azn3i55595gilg1vyn8")))) "1knglw1b2kjr9jnd8cpfzmm581abxxdcx9l3cd2balg6gnac7qk1"))))
(build-system dune-build-system) (build-system dune-build-system)
(propagated-inputs (propagated-inputs
`(("ocaml-migrate-parsetree" ,ocaml-migrate-parsetree-1) `(("ocaml-ppxlib" ,ocaml-ppxlib)
("ocaml-ppx-tools-versioned" ,ocaml-ppx-tools-versioned) ("ocaml-cmdliner" ,ocaml-cmdliner)))
("ocaml-ounit" ,ocaml-ounit)))
(arguments (arguments
`(#:phases ;; Tests require ocamlformat which would lead to circular dependencies
(modify-phases %standard-phases '(#:tests? #f))
(add-before 'build 'fix-deprecated
(lambda _
;; Fixed upstream in 22dd1ad9a0c9629f60599c22d82c6488394d6d32, but
;; not in a release yet.
(substitute* "src/ppx/instrument.ml"
(("module Ast = Ast_405")
"module Ast = Migrate_parsetree.Ast_405
module Ast_405 = Ast"))
#t)))))
(home-page "https://github.com/aantron/bisect_ppx") (home-page "https://github.com/aantron/bisect_ppx")
(synopsis "Code coverage for OCaml") (synopsis "Code coverage for OCaml")
(description "Bisect_ppx helps you test thoroughly. It is a small (description "Bisect_ppx helps you test thoroughly. It is a small