[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/10: gnu: Add ocaml-qtest.
From: |
David Craven |
Subject: |
02/10: gnu: Add ocaml-qtest. |
Date: |
Wed, 4 Jan 2017 16:41:24 +0000 (UTC) |
dvc pushed a commit to branch master
in repository guix.
commit 0472836fcea71cce94128833497aed59fbc972d8
Author: Julien Lepiller <address@hidden>
Date: Fri Dec 30 11:14:13 2016 +0100
gnu: Add ocaml-qtest.
* gnu/packages/ocaml.scm (ocaml-qtest): New variable.
Signed-off-by: David Craven <address@hidden>
---
gnu/packages/ocaml.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 7a5ea6b..b7cec58 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -906,3 +906,34 @@ The result is a syntactic tree easy to process with usual
OCAML tree management.
It provides support for ANSI C syntax, old-C K&R style syntax and the standard
GNU CC attributes. It provides also a C pretty printer as an example of use.")
(license license:lgpl2.1)))
+
+(define-public ocaml-qtest
+ (package
+ (name "ocaml-qtest")
+ (version "2.3")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://github.com/vincent-hugot/iTeML/"
+ "archive/v" version ".tar.gz"))
+ (sha256
+ (base32
+ "1n7x5l6h4j44f75wzgzjsjkq349i4gj707w1hr7fx84igxxfr6vl"))))
+ (build-system ocaml-build-system)
+ (native-inputs
+ `(("findlib" ,ocaml-findlib)))
+ (propagated-inputs
+ `(("ounit" ,ocaml-ounit)))
+ (arguments
+ `(#:tests? #f ; No test target.
+ #:make-flags
+ (list (string-append "BIN=" (assoc-ref %outputs "out") "/bin"))
+ #:phases
+ (modify-phases %standard-phases
+ (delete 'configure))))
+ (home-page "https://github.com/vincent-hugot/iTeML")
+ (synopsis "Inline (Unit) Tests for OCaml")
+ (description "Qtest extracts inline unit tests written using a special
+syntax in comments. Those tests are then run using the oUnit framework and the
+qcheck library. The possibilities range from trivial tests -- extremely simple
+to use -- to sophisticated random generation of test cases.")
+ (license license:lgpl3+)))
- branch master updated (b96a064 -> 6548e53), David Craven, 2017/01/04
- 02/10: gnu: Add ocaml-qtest.,
David Craven <=
- 06/10: gnu: Add ocaml-result., David Craven, 2017/01/04
- 03/10: gnu: Add ocaml-stringext., David Craven, 2017/01/04
- 08/10: gnu: Add ocaml-rresult., David Craven, 2017/01/04
- 10/10: gnu: Add ocaml-cmdliner., David Craven, 2017/01/04
- 07/10: gnu: Add ocaml-topkg., David Craven, 2017/01/04
- 09/10: gnu: Add ocaml-mtime., David Craven, 2017/01/04
- 05/10: gnu: Add ocaml-bitstring., David Craven, 2017/01/04
- 01/10: gnu: Add ocaml-frontc., David Craven, 2017/01/04
- 04/10: gnu: Add ocaml-bisect., David Craven, 2017/01/04