guix_mirror_bot pushed a commit to branch ocaml-team
in repository guix.
commit ff8d752eec9ecdf7fef5ce73c589c38f2a849364
Author: Jason Conroy <[email protected]>
AuthorDate: Thu Jan 15 13:48:07 2026 -0500
gnu: ocaml5: Add ocaml-ppx-expect.
* gnu/packages/ocaml5.scm (ocaml-ppx-expect): New variable.
Change-Id: I1b21d0261a96cabdd57106c4dc094aaea76ed8ad
Signed-off-by: Julien Lepiller <[email protected]>
---
gnu/packages/ocaml5.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/ocaml5.scm b/gnu/packages/ocaml5.scm
index f01ff764d8..837c633f51 100644
--- a/gnu/packages/ocaml5.scm
+++ b/gnu/packages/ocaml5.scm
@@ -2009,6 +2009,34 @@ in-line tests in ocaml code. It is part of Jane
Street's PPX rewriters
collection.")
(license license:expat)))
+(define-public ocaml-ppx-expect
+ (package
+ (name "ocaml5-ppx-expect")
+ (version "0.17.2")
+ (source
+ (janestreet-git-origin "ppx_expect" version
+ "0nimi4zqlw816j2hbxljqhv8s3kdf8mncdj4474234i1xgzngbwx"))
+ (build-system dune-build-system)
+ (arguments
+ ;; Cyclic dependency with ocaml-ppx-jane
+ `(#:tests? #f))
+ (propagated-inputs (list ocaml-base
+ ocaml-ppx-here
+ ocaml-ppx-inline-test
+ ocaml-stdio
+ ocaml-ppxlib
+ ocaml-re))
+ (properties `((upstream-name . "ppx_expect")))
+ (home-page "https://github.com/janestreet/ppx_expect")
+ (synopsis "Cram like framework for OCaml")
+ (description
+ "Expect-test is a framework for writing tests in OCaml, similar
+to Cram. Expect-tests mimics the existing inline tests framework with the
+@code{let%expect_test} construct. The body of an expect-test can contain
+output-generating code, interleaved with @code{%expect} extension expressions
+to denote the expected output.")
+ (license license:expat)))
+
;;;
;;; Avoid adding new packages to the end of this file. To reduce the chances
;;; of a merge conflict, place them above by existing packages with similar