guix_mirror_bot pushed a commit to branch ocaml-team
in repository guix.
commit 0e5691ea0d04319dccdec33da89bba59248c5260
Author: Jason Conroy <[email protected]>
AuthorDate: Sat Jan 10 17:17:48 2026 -0500
gnu: ocaml5: Add ocaml-ounit2.
* gnu/packages/ocaml5.scm (ocaml-ounit2): New variable.
Change-Id: I388ae135c14c573516069b78ef3361f81fa5d657
Signed-off-by: Julien Lepiller <[email protected]>
---
gnu/packages/ocaml5.scm | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/gnu/packages/ocaml5.scm b/gnu/packages/ocaml5.scm
index 0c7186afff..7f6309a488 100644
--- a/gnu/packages/ocaml5.scm
+++ b/gnu/packages/ocaml5.scm
@@ -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")