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";
|
2020-12-09 12:39:15 +00:00
|
|
|
version = "1.2.3";
|
|
|
|
|
|
|
|
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";
|
|
|
|
sha256 = "1bmjcivbmd4vib15v4chycgd1gl8js9dk94vzxkdg06zxqd4hp08";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|