about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/ocaml-modules/tezos/store.nix
blob: 69dad75127079df7ea302a2692974cfbad93ffaa (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
41
42
43
44
45
46
47
48
{ lib
, buildDunePackage
, tezos-stdlib
, tezos-protocol-updater
, tezos-validation
, tezos-legacy-store
, tezos-protocol-compiler
, index
, camlzip
, tar-unix
, ringo-lwt
, digestif
, alcotest-lwt
, lwt-watcher
}:

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

  propagatedBuildInputs = [
    index
    camlzip
    tar-unix
    ringo-lwt
    digestif
    lwt-watcher
    tezos-protocol-updater
    tezos-validation
    tezos-legacy-store
  ];

  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";
  };
}