2021-07-24 12:14:16 +00:00
|
|
|
{ lib
|
|
|
|
, buildDunePackage
|
|
|
|
, tezos-stdlib
|
|
|
|
, data-encoding
|
|
|
|
, lwt
|
|
|
|
, lwt-canceler
|
2021-10-14 00:43:12 +00:00
|
|
|
, tezos-lwt-result-stdlib
|
2021-07-24 12:14:16 +00:00
|
|
|
, alcotest
|
|
|
|
, alcotest-lwt
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildDunePackage {
|
|
|
|
pname = "tezos-error-monad";
|
2021-10-14 00:43:12 +00:00
|
|
|
inherit (tezos-stdlib) version useDune2;
|
|
|
|
src = "${tezos-stdlib.base_src}/src/lib_error_monad";
|
2021-07-24 12:14:16 +00:00
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
tezos-stdlib
|
|
|
|
data-encoding
|
|
|
|
lwt
|
|
|
|
lwt-canceler
|
2021-10-14 00:43:12 +00:00
|
|
|
tezos-lwt-result-stdlib
|
2021-07-24 12:14:16 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
alcotest
|
|
|
|
alcotest-lwt
|
|
|
|
];
|
|
|
|
|
2021-10-14 00:43:12 +00:00
|
|
|
doCheck = true;
|
|
|
|
|
2021-07-24 12:14:16 +00:00
|
|
|
meta = tezos-stdlib.meta // {
|
|
|
|
description = "Tezos: error monad";
|
|
|
|
};
|
|
|
|
}
|