2021-07-07 11:34:04 +02:00
|
|
|
{ lib
|
2021-09-21 10:47:59 +02:00
|
|
|
, ocaml
|
2021-07-07 11:34:04 +02:00
|
|
|
, buildDunePackage
|
|
|
|
, tezos-stdlib
|
|
|
|
, tezos-base
|
|
|
|
, tezos-sapling
|
2021-09-21 10:47:59 +02:00
|
|
|
, tezos-context
|
2021-07-07 11:34:04 +02:00
|
|
|
, tezos-protocol-environment-sigs
|
|
|
|
, tezos-protocol-environment-structs
|
2021-09-21 10:47:59 +02:00
|
|
|
, tezos-test-helpers
|
2021-07-07 11:34:04 +02:00
|
|
|
, zarith
|
|
|
|
, alcotest-lwt
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildDunePackage {
|
|
|
|
pname = "tezos-protocol-environment";
|
2021-09-21 10:47:59 +02:00
|
|
|
inherit (tezos-stdlib) version useDune2;
|
|
|
|
src = "${tezos-stdlib.base_src}/src/lib_protocol_environment";
|
2021-07-07 11:34:04 +02:00
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
tezos-sapling
|
|
|
|
tezos-base
|
2021-09-21 10:47:59 +02:00
|
|
|
tezos-context
|
2021-07-07 11:34:04 +02:00
|
|
|
tezos-protocol-environment-sigs
|
|
|
|
tezos-protocol-environment-structs
|
|
|
|
zarith # this might break, since they actually want 1.11
|
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
alcotest-lwt
|
2021-09-21 10:47:59 +02:00
|
|
|
tezos-test-helpers
|
2021-07-07 11:34:04 +02:00
|
|
|
];
|
|
|
|
|
2021-09-21 10:47:59 +02:00
|
|
|
doCheck = true;
|
|
|
|
|
2021-07-07 11:34:04 +02:00
|
|
|
meta = tezos-stdlib.meta // {
|
|
|
|
description = "Tezos: custom economic-protocols environment implementation for `tezos-client` and testing";
|
|
|
|
};
|
|
|
|
}
|