gnu: ocaml5: Add ocaml-ounit2.

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

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

View file

@ -626,6 +626,27 @@ process. Also, in many cases, Lwt threads can interact without the need for
locks or other synchronization primitives.")
(license license:lgpl2.1)))
(define-public ocaml-ounit2
(package
(name "ocaml5-ounit2")
(version "2.2.6")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/gildor478/ounit.git")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "04c841hpk2yij370w30w3pis8nibnr28v74mpq2qz7z5gb8l07p1"))))
(build-system dune-build-system)
(propagated-inputs (list ocaml-lwt ocaml-stdlib-shims))
(home-page "https://github.com/gildor478/ounit")
(synopsis "Unit testing framework for OCaml")
(description "OUnit2 is a 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")