[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/14: gnu: Add ocaml-ounit2.
From: |
guix-commits |
Subject: |
06/14: gnu: Add ocaml-ounit2. |
Date: |
Wed, 30 Dec 2020 08:26:56 -0500 (EST) |
roptat pushed a commit to branch master
in repository guix.
commit 349699bbc21c9946486b0b41d8b2e24192bc9b7a
Author: pukkamustard <pukkamustard@posteo.net>
AuthorDate: Mon Dec 28 22:10:08 2020 +0100
gnu: Add ocaml-ounit2.
* gnu/packages/ocaml.xyz (ocaml-ounit2): New variable.
Signed-off-by: Julien Lepiller <julien@lepiller.eu>
---
gnu/packages/ocaml.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index b12a795..d10b14b 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -982,6 +982,32 @@ compilers that can directly deal with packages.")
`(("m4" ,m4)
("ocaml" ,ocaml-4.09)))))
+(define-public ocaml-ounit2
+ (package
+ (name "ocaml-ounit2")
+ (version "2.2.4")
+ (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
+ "0gxjw1bhmjcjzri6x6psqrkbbyq678b69bqfl9i1zswp7cj2lryg"))))
+ (build-system dune-build-system)
+ (inputs
+ ;; XXX Should libev be a propagated-input of ocaml-lwt?
+ `(("libev" ,libev)))
+ (propagated-inputs
+ `(("lwt" ,ocaml-lwt)
+ ("ocaml-stdlib-shims" ,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)))
+
;; note that some tests may hang for no obvious reason.
(define-public ocaml-ounit
(package
- branch master updated (d1d092f -> 8b03692), guix-commits, 2020/12/30
- 02/14: gnu: Add ocaml-sexplib0., guix-commits, 2020/12/30
- 01/14: gnu: Remove ocaml-js-build-tools., guix-commits, 2020/12/30
- 03/14: gnu: Add ocaml-base., guix-commits, 2020/12/30
- 04/14: gnu: Add ocaml-parsexp., guix-commits, 2020/12/30
- 06/14: gnu: Add ocaml-ounit2.,
guix-commits <=
- 07/14: gnu: ocaml-tyxml: Update to 4.4.0., guix-commits, 2020/12/30
- 10/14: gnu: Add ocaml-version., guix-commits, 2020/12/30
- 09/14: gnu: Add ocaml-odoc., guix-commits, 2020/12/30
- 08/14: gnu: ocaml-markup: Update to 1.0.0., guix-commits, 2020/12/30
- 11/14: gnu: Add ocaml-mdx., guix-commits, 2020/12/30
- 13/14: gnu: Add ocaml-dot-merlin-reader., guix-commits, 2020/12/30
- 14/14: gnu: Add ocaml-merlin., guix-commits, 2020/12/30
- 05/14: gnu: Add ocaml-sexplib., guix-commits, 2020/12/30
- 12/14: gnu: ocaml-yojson: Make dependencies propagated-inputs., guix-commits, 2020/12/30