depot/third_party/nixpkgs/pkgs/development/coq-modules/async-test/default.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

24 lines
642 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;
};
}