Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib
2, ocaml
3, buildDunePackage
4, tezos-stdlib
5, tezos-base
6, tezos-sapling
7, tezos-context
8, tezos-protocol-environment-sigs
9, tezos-protocol-environment-structs
10, tezos-test-helpers
11, zarith
12, alcotest-lwt
13}:
14
15buildDunePackage {
16 pname = "tezos-protocol-environment";
17 inherit (tezos-stdlib) version useDune2;
18 src = "${tezos-stdlib.base_src}/src/lib_protocol_environment";
19
20 propagatedBuildInputs = [
21 tezos-sapling
22 tezos-base
23 tezos-context
24 tezos-protocol-environment-sigs
25 tezos-protocol-environment-structs
26 zarith # this might break, since they actually want 1.11
27 ];
28
29 checkInputs = [
30 alcotest-lwt
31 tezos-test-helpers
32 ];
33
34 doCheck = true;
35
36 meta = tezos-stdlib.meta // {
37 description = "Tezos: custom economic-protocols environment implementation for `tezos-client` and testing";
38 };
39}