2020-04-14 06:38:11 +01:00
|
|
|
{ lib, buildDunePackage, fetchurl
|
2020-12-05 16:27:48 +00:00
|
|
|
, astring, cmdliner, fmt, uuidm, re, stdlib-shims, uutf
|
2017-10-31 01:06:17 +00:00
|
|
|
}:
|
|
|
|
|
2020-04-14 06:38:11 +01:00
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "alcotest";
|
2020-12-05 16:27:48 +00:00
|
|
|
version = "1.2.3";
|
|
|
|
|
|
|
|
useDune2 = true;
|
2015-05-15 15:36:16 +01:00
|
|
|
|
2020-04-14 06:38:11 +01:00
|
|
|
src = fetchurl {
|
2020-12-05 16:27:48 +00:00
|
|
|
url = "https://github.com/mirage/alcotest/releases/download/${version}/alcotest-mirage-${version}.tbz";
|
|
|
|
sha256 = "1bmjcivbmd4vib15v4chycgd1gl8js9dk94vzxkdg06zxqd4hp08";
|
2015-05-15 15:36:16 +01:00
|
|
|
};
|
|
|
|
|
2020-12-05 16:27:48 +00:00
|
|
|
propagatedBuildInputs = [ astring cmdliner fmt uuidm re stdlib-shims uutf ];
|
|
|
|
|
|
|
|
doCheck = true;
|
2015-05-15 15:36:16 +01:00
|
|
|
|
2020-04-14 06:38:11 +01:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/mirage/alcotest";
|
2015-05-15 15:36:16 +01:00
|
|
|
description = "A lightweight and colourful test framework";
|
2020-04-14 06:38:11 +01:00
|
|
|
license = licenses.isc;
|
2015-05-15 15:36:16 +01:00
|
|
|
maintainers = [ maintainers.ericbmerritt ];
|
|
|
|
};
|
|
|
|
}
|