[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 08/96] gnu: Add ocaml-ounit.
From: |
Julien Lepiller |
Subject: |
[PATCH 08/96] gnu: Add ocaml-ounit. |
Date: |
Tue, 3 Jan 2017 20:10:49 +0100 |
* gnu/packages/ocaml.scm (ocaml-ounit): New variable.
---
gnu/packages/ocaml.scm | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 7d9d363b5..e32bd9de1 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -30,6 +30,7 @@
#:use-module (guix svn-download)
#:use-module (guix utils)
#:use-module (guix build-system gnu)
+ #:use-module (guix build-system ocaml)
#:use-module (gnu packages)
#:use-module (gnu packages gcc)
#:use-module (gnu packages gnome)
@@ -48,6 +49,7 @@
#:use-module (gnu packages m4)
#:use-module (gnu packages ncurses)
#:use-module (gnu packages version-control)
+ #:use-module (gnu packages xml)
#:use-module (gnu packages curl))
;; A shortcut for files from ocaml forge. Downloaded files are computed from
@@ -755,3 +757,20 @@ allows the user to enter queries on the command-line. In
order to simplify
compilation and linkage, there are new frontends of the various OCaml
compilers that can directly deal with packages.")
(license license:x11)))
+
+;; note that some tests may hang for no obvious reason.
+(define-public ocaml-ounit
+ (package
+ (name "ocaml-ounit")
+ (version "2.0.0")
+ (home-page "http://ounit.forge.ocamlcore.org")
+ (source (ocaml-forge-origin "ounit" version 1258
+ "118xsadrx84pif9vaq13hv4yh22w9kmr0ypvhrs0viir1jr0ajjd"))
+ (build-system ocaml-build-system)
+ (native-inputs `(("libxml2" ,libxml2))) ; for xmllint
+ ; tests are done during build
+ (arguments `(#:phases (modify-phases %standard-phases (delete 'check))))
+ (synopsis "Unit testing framework for OCaml")
+ (description "Unit testing framework for OCaml. It is similar to JUnit and
+other XUnit testing frameworks.")
+ (license license:lgpl2.1)))
--
2.11.0
- [PATCH 00/96] ocaml-build-system and packages, Julien Lepiller, 2017/01/03
- [PATCH 02/96] gnu: ocaml: Add CAML_LD_LIBRARY_PATH search-path, Julien Lepiller, 2017/01/03
- [PATCH 01/96] gnu: ocaml: Add a .file directive to generated .s files, Julien Lepiller, 2017/01/03
- [PATCH 03/96] gnu: camlp4: compile native, Julien Lepiller, 2017/01/03
- [PATCH 04/96] gnu: Add ocaml-build-system., Julien Lepiller, 2017/01/03
- [PATCH 05/96] gnu: ocaml: Use a prefix for license field., Julien Lepiller, 2017/01/03
- [PATCH 06/96] gnu: ocaml: Use a helper function to download from ocaml-forge., Julien Lepiller, 2017/01/03
- [PATCH 07/96] gnu: camlp4: Install camlp4 META file., Julien Lepiller, 2017/01/03
- [PATCH 08/96] gnu: Add ocaml-ounit.,
Julien Lepiller <=
- [PATCH 10/96] gnu: Add ocamlmod., Julien Lepiller, 2017/01/03
- Re: [PATCH 10/96] gnu: Add ocamlmod., David Craven, 2017/01/04
- Re: [PATCH 10/96] gnu: Add ocamlmod., julien lepiller, 2017/01/04
- Re: [PATCH 10/96] gnu: Add ocamlmod., David Craven, 2017/01/04
- Re: [PATCH 10/96] gnu: Add ocamlmod., David Craven, 2017/01/04
- Re: [PATCH 10/96] gnu: Add ocamlmod., David Craven, 2017/01/04
- Re: [PATCH 10/96] gnu: Add ocamlmod., Julien Lepiller, 2017/01/15
- Re: [PATCH 10/96] gnu: Add ocamlmod., David Craven, 2017/01/15
- Re: [PATCH 10/96] gnu: Add ocamlmod., Ludovic Courtès, 2017/01/04