guix_mirror_bot pushed a commit to branch ocaml-team
in repository guix.
commit 7a696768fe20c3f9dde5901acfba5a44afd5886e
Author: Jason Conroy <[email protected]>
AuthorDate: Sat Jan 10 17:20:37 2026 -0500
gnu: ocaml5: Add ocaml-ounit.
* gnu/packages/ocaml5.scm (ocaml-ounit): New variable.
Change-Id: Icc60eb1d9b9c9002ec3b459a5eb78313e2c722ec
Signed-off-by: Julien Lepiller <[email protected]>
---
gnu/packages/ocaml5.scm | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/gnu/packages/ocaml5.scm b/gnu/packages/ocaml5.scm
index 7f6309a488..9bfffc14fe 100644
--- a/gnu/packages/ocaml5.scm
+++ b/gnu/packages/ocaml5.scm
@@ -647,6 +647,26 @@ locks or other synchronization primitives.")
to JUnit and other XUnit testing frameworks.")
(license license:expat)))
+(define-public ocaml-ounit
+ (package
+ (inherit ocaml-ounit2)
+ (name "ocaml5-ounit")
+ (arguments
+ `(#:tests? #f ;tests have been observed to hang.
+ #:phases (modify-phases %standard-phases
+ (replace 'install
+ (lambda _
+ (invoke "make" "install-ounit"
+ ,(string-append "version="
+ (package-version
ocaml-ounit2))))))))
+ (propagated-inputs (list ocaml-ounit2))
+ (home-page "http://ounit.forge.ocamlcore.org")
+ (synopsis "Unit testing framework for OCaml")
+ (description
+ "Unit testing framework for OCaml. It is similar to JUnit and
+other XUnit testing frameworks.")
+ (license license:expat)))
+
(define-public ocaml5.3-dune-bootstrap
(package
(name "ocaml5.3-dune")