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
705 B
Nix
43 lines
705 B
Nix
{
|
|
lib,
|
|
mkCoqDerivation,
|
|
coq,
|
|
itree-io,
|
|
json,
|
|
QuickChick,
|
|
version ? null,
|
|
}:
|
|
|
|
mkCoqDerivation {
|
|
pname = "async-test";
|
|
owner = "liyishuai";
|
|
repo = "coq-async-test";
|
|
inherit version;
|
|
|
|
defaultVersion =
|
|
let
|
|
inherit (lib.versions) range;
|
|
in
|
|
lib.switch coq.coq-version [
|
|
{
|
|
case = range "8.12" "8.19";
|
|
out = "0.1.0";
|
|
}
|
|
] null;
|
|
release = {
|
|
"0.1.0".sha256 = "sha256-0DBUS20337tpBi64mlJIWTQvIAdUvWbFCM9Sat7MEA8=";
|
|
};
|
|
releaseRev = v: "v${v}";
|
|
|
|
propagatedBuildInputs = [
|
|
itree-io
|
|
json
|
|
QuickChick
|
|
];
|
|
|
|
meta = {
|
|
description = "From interaction trees to asynchronous tests";
|
|
license = lib.licenses.mpl20;
|
|
};
|
|
}
|