2021-07-07 10:34:04 +01:00
|
|
|
{ lib
|
|
|
|
, buildDunePackage
|
|
|
|
, ocaml
|
|
|
|
, tezos-stdlib
|
2021-09-21 09:47:59 +01:00
|
|
|
, lwt
|
2021-07-07 10:34:04 +01:00
|
|
|
, alcotest-lwt
|
2021-09-21 09:47:59 +01:00
|
|
|
, tezos-test-helpers
|
2021-07-07 10:34:04 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildDunePackage {
|
|
|
|
pname = "tezos-lwt-result-stdlib";
|
2021-09-21 09:47:59 +01:00
|
|
|
inherit (tezos-stdlib) version useDune2;
|
|
|
|
src = "${tezos-stdlib.base_src}/src/lib_lwt_result_stdlib";
|
2021-07-07 10:34:04 +01:00
|
|
|
|
2022-01-23 20:24:16 +00:00
|
|
|
minimalOCamlVersion = "4.12";
|
|
|
|
|
2021-07-07 10:34:04 +01:00
|
|
|
propagatedBuildInputs = [
|
2021-09-21 09:47:59 +01:00
|
|
|
lwt
|
2021-07-07 10:34:04 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
alcotest-lwt
|
2021-09-21 09:47:59 +01:00
|
|
|
tezos-test-helpers
|
2021-07-07 10:34:04 +01:00
|
|
|
];
|
|
|
|
|
2021-09-21 09:47:59 +01:00
|
|
|
doCheck = true;
|
|
|
|
|
2021-07-07 10:34:04 +01:00
|
|
|
meta = tezos-stdlib.meta // {
|
|
|
|
description = "Tezos: error-aware stdlib replacement";
|
|
|
|
};
|
|
|
|
}
|