[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/11: gnu: Add ocaml-ounit.
From: |
David Craven |
Subject: |
08/11: gnu: Add ocaml-ounit. |
Date: |
Wed, 4 Jan 2017 15:05:59 +0000 (UTC) |
dvc pushed a commit to branch master
in repository guix.
commit 7a76b4afd0ce296bb462be8cf66234e41672c285
Author: Julien Lepiller <address@hidden>
Date: Thu Dec 22 20:19:00 2016 +0100
gnu: Add ocaml-ounit.
* gnu/packages/ocaml.scm (ocaml-ounit): New variable.
Signed-off-by: David Craven <address@hidden>
---
gnu/packages/ocaml.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index b3e3bc7..f976544 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -42,8 +42,10 @@
#:use-module (gnu packages tex)
#:use-module (gnu packages texinfo)
#:use-module (gnu packages version-control)
+ #:use-module (gnu packages xml)
#:use-module (gnu packages xorg)
#:use-module (guix build-system gnu)
+ #:use-module (guix build-system ocaml)
#:use-module (guix download)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
@@ -756,3 +758,25 @@ 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")
+ (source (origin
+ (method url-fetch)
+ (uri (ocaml-forge-uri "ounit" version 1258))
+ (sha256
+ (base32
+ "118xsadrx84pif9vaq13hv4yh22w9kmr0ypvhrs0viir1jr0ajjd"))))
+ (build-system ocaml-build-system)
+ (native-inputs
+ `(("libxml2" ,libxml2))) ; for xmllint
+ (arguments
+ `(#:tests? #f)) ; tests are done during build
+ (home-page "http://ounit.forge.ocamlcore.org")
+ (synopsis "Unit testing framework for OCaml")
+ (description "Unit testing framework for OCaml. It is similar to JUnit and
+other XUnit testing frameworks.")
+ (license license:expat)))
- branch master updated (1ff755d -> ddf2b50), David Craven, 2017/01/04
- 04/11: gnu: camlp4: Compile native version., David Craven, 2017/01/04
- 03/11: gnu: ocaml: Fix indentation., David Craven, 2017/01/04
- 06/11: gnu: ocaml: Use a helper function to download from ocaml-forge., David Craven, 2017/01/04
- 09/11: gnu: Add camlzip., David Craven, 2017/01/04
- 02/11: gnu: ocaml: Add CAML_LD_LIBRARY_PATH search-path., David Craven, 2017/01/04
- 10/11: gnu: Add ocamlmod., David Craven, 2017/01/04
- 08/11: gnu: Add ocaml-ounit.,
David Craven <=
- 11/11: gnu: Add ocaml-zarith., David Craven, 2017/01/04
- 07/11: gnu: camlp4: Install camlp4 META file., David Craven, 2017/01/04
- 05/11: gnu: Add ocaml-build-system., David Craven, 2017/01/04
- 01/11: gnu: ocaml: Add a .file directive to generated .s files., David Craven, 2017/01/04