diff --git a/gnu/packages/ocaml5.scm b/gnu/packages/ocaml5.scm index 0c7186afff5..7f6309a488a 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")