2024-09-19 14:19:46 +00:00
|
|
|
{ lib, buildDunePackage, fetchurl
|
2022-09-22 12:36:57 +00:00
|
|
|
, astring, cmdliner, fmt, re, stdlib-shims, uutf, ocaml-syntax-shims
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "alcotest";
|
2024-09-19 14:19:46 +00:00
|
|
|
version = "1.8.0";
|
2023-04-12 12:48:02 +00:00
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
src = fetchurl {
|
2022-09-22 12:36:57 +00:00
|
|
|
url = "https://github.com/mirage/alcotest/releases/download/${version}/alcotest-${version}.tbz";
|
2024-09-19 14:19:46 +00:00
|
|
|
hash = "sha256-y6G9AXB8jFW0dkuw34yccyvjIeHxwalqQG5W2NvKHQ4=";
|
2024-05-15 15:35:15 +00:00
|
|
|
};
|
|
|
|
|
2022-04-27 09:35:20 +00:00
|
|
|
nativeBuildInputs = [ ocaml-syntax-shims ];
|
|
|
|
|
2022-09-22 12:36:57 +00:00
|
|
|
propagatedBuildInputs = [ astring cmdliner fmt re stdlib-shims uutf ];
|
2020-12-09 12:39:15 +00:00
|
|
|
|
|
|
|
doCheck = true;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/mirage/alcotest";
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Lightweight and colourful test framework";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.isc;
|
|
|
|
maintainers = [ maintainers.ericbmerritt ];
|
|
|
|
};
|
|
|
|
}
|