gnu: ocaml5: Add ocaml-ounit.

* gnu/packages/ocaml5.scm (ocaml-ounit): New variable.

Change-Id: Icc60eb1d9b9c9002ec3b459a5eb78313e2c722ec
Signed-off-by: Julien Lepiller <julien@lepiller.eu>
This commit is contained in:
Jason Conroy 2026-01-10 17:20:37 -05:00 committed by Julien Lepiller
parent 427a4028b6
commit 033d469065
No known key found for this signature in database
GPG key ID: 53D457B2D636EE82

View file

@ -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")