1{ lib, buildDunePackage, fetchurl
2, astring, cmdliner, fmt, uuidm, re, stdlib-shims, uutf
3}:
4
5buildDunePackage rec {
6 pname = "alcotest";
7 version = "1.4.0";
8
9 useDune2 = true;
10
11 src = fetchurl {
12 url = "https://github.com/mirage/alcotest/releases/download/${version}/alcotest-mirage-${version}.tbz";
13 sha256 = "sha256:1h9yp44snb6sgm5g1x3wg4gwjscic7i56jf0j8jr07355pxwrami";
14 };
15
16 propagatedBuildInputs = [ astring cmdliner fmt uuidm re stdlib-shims uutf ];
17
18 doCheck = true;
19
20 meta = with lib; {
21 homepage = "https://github.com/mirage/alcotest";
22 description = "A lightweight and colourful test framework";
23 license = licenses.isc;
24 maintainers = [ maintainers.ericbmerritt ];
25 };
26}