2025-03-13 11:00:04 +00:00

43 lines
771 B
Nix

{
lib,
buildDunePackage,
fetchurl,
astring,
cmdliner,
fmt,
re,
stdlib-shims,
uutf,
ocaml-syntax-shims,
}:
buildDunePackage rec {
pname = "alcotest";
version = "1.9.0";
src = fetchurl {
url = "https://github.com/mirage/alcotest/releases/download/${version}/alcotest-${version}.tbz";
hash = "sha256-4jhxNsqFTfK0FSE53U1LOVOmRugElIBz3t/gojLwihU=";
};
nativeBuildInputs = [ ocaml-syntax-shims ];
propagatedBuildInputs = [
astring
cmdliner
fmt
re
stdlib-shims
uutf
];
doCheck = true;
meta = with lib; {
homepage = "https://github.com/mirage/alcotest";
description = "Lightweight and colourful test framework";
license = licenses.isc;
maintainers = [ maintainers.ericbmerritt ];
};
}