summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/tezos/legacy-store.nix
blob: 6029401e36187eaef32c767947c454c418a28f83 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{ lib
, buildDunePackage
, tezos-stdlib
, tezos-context
, tezos-lmdb
, tezos-validation
, tezos-shell-services
, tezos-protocol-compiler
, lwt-watcher
, alcotest-lwt
}:

buildDunePackage {
  pname = "tezos-legacy-store";
  inherit (tezos-stdlib) version useDune2;
  src = "${tezos-stdlib.base_src}/src/lib_store/legacy_store";

  propagatedBuildInputs = [
    tezos-context
    tezos-lmdb
    tezos-validation
    tezos-shell-services
    lwt-watcher
  ];

  buildInputs = [
    tezos-protocol-compiler
  ];

  checkInputs = [
    alcotest-lwt
  ];

  # A lot of extra deps with wide dependency cones needed
  doCheck = false;

  meta = tezos-stdlib.meta // {
    description = "Tezos: custom economic-protocols environment implementation for `tezos-client` and testing";
  };
}