Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
43 lines
771 B
Nix
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.1";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/mirage/alcotest/releases/download/${version}/alcotest-${version}.tbz";
|
|
hash = "sha256-HinDtB1DKQYhBbcj39o6/4a4zvXnx1ANDkkfxf145II=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|