2020-04-24 23:36:52 +00:00
|
|
|
{ lib, buildDunePackage, fetchurl
|
2020-12-09 12:39:15 +00:00
|
|
|
, astring, cmdliner, fmt, uuidm, re, stdlib-shims, uutf
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "alcotest";
|
2021-07-14 22:03:04 +00:00
|
|
|
version = "1.4.0";
|
2020-12-09 12:39:15 +00:00
|
|
|
|
|
|
|
useDune2 = true;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2020-12-09 12:39:15 +00:00
|
|
|
url = "https://github.com/mirage/alcotest/releases/download/${version}/alcotest-mirage-${version}.tbz";
|
2021-07-14 22:03:04 +00:00
|
|
|
sha256 = "sha256:1h9yp44snb6sgm5g1x3wg4gwjscic7i56jf0j8jr07355pxwrami";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2020-12-09 12:39:15 +00:00
|
|
|
propagatedBuildInputs = [ astring cmdliner fmt uuidm re stdlib-shims uutf ];
|
|
|
|
|
|
|
|
doCheck = true;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/mirage/alcotest";
|
|
|
|
description = "A lightweight and colourful test framework";
|
|
|
|
license = licenses.isc;
|
|
|
|
maintainers = [ maintainers.ericbmerritt ];
|
|
|
|
};
|
|
|
|
}
|