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