[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/08: gnu: Add ocaml-alcotest.
From: |
julien lepiller |
Subject: |
04/08: gnu: Add ocaml-alcotest. |
Date: |
Mon, 16 Jan 2017 21:35:17 +0000 (UTC) |
roptat pushed a commit to branch master
in repository guix.
commit 69705efe9414c1964bcab7c214688ca153529385
Author: Julien Lepiller <address@hidden>
Date: Fri Dec 30 11:47:27 2016 +0100
gnu: Add ocaml-alcotest.
* gnu/packages/ocaml.scm (ocaml-alcotest): New variable.
---
gnu/packages/ocaml.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 096c3f1..cfe2eb1 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -1285,3 +1285,34 @@ removes deprecated and rarely used functions, alters
some signatures and names,
adds a few missing functions and fully exploits OCaml's newfound string
immutability.")
(license license:isc)))
+
+(define-public ocaml-alcotest
+ (package
+ (name "ocaml-alcotest")
+ (version "0.7.2")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
"https://github.com/mirage/alcotest/releases/"
+ "download/" version "/alcotest-" version
".tbz"))
+ (sha256
+ (base32
+ "0g5lzk0gpfx4q8hyhr460gr4lab5wakfxsmhfwvb3yinxwzs95gc"))))
+ (build-system ocaml-build-system)
+ (arguments `(#:tests? #f
+ #:build-flags (list "build")
+ #:phases
+ (modify-phases %standard-phases
+ (delete 'configure))))
+ (native-inputs `(("opam" ,opam)
+ ("topkg" ,ocaml-topkg)))
+ (propagated-inputs `(("fmt" ,ocaml-fmt)
+ ("astring" ,ocaml-astring)))
+ (home-page "https://github.com/mirage/alcotest")
+ (synopsis "Lightweight OCaml test framework")
+ (description "Alcotest exposes simple interface to perform unit tests. It
+exposes a simple TESTABLE module type, a check function to assert test
+predicates and a run function to perform a list of unit -> unit test callbacks.
+Alcotest provides a quiet and colorful output where only faulty runs are fully
+displayed at the end of the run (with the full logs ready to inspect), with a
+simple (yet expressive) query language to select the tests to run.")
+ (license license:isc)))
- branch master updated (138adbb -> 1fdfbad), julien lepiller, 2017/01/16
- 01/08: gnu: camlzip: Install both modules., julien lepiller, 2017/01/16
- 04/08: gnu: Add ocaml-alcotest.,
julien lepiller <=
- 02/08: gnu: Add ocaml-fmt., julien lepiller, 2017/01/16
- 05/08: gnu: Add ocaml-ppx-tools., julien lepiller, 2017/01/16
- 03/08: gnu: Add ocaml-astring., julien lepiller, 2017/01/16
- 06/08: gnu: Add ocaml-react., julien lepiller, 2017/01/16
- 07/08: gnu: Add ocaml-ssl., julien lepiller, 2017/01/16
- 08/08: gnu: Add ocaml-lwt., julien lepiller, 2017/01/16