summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/tezos/sapling.nix
blob: 40665e380548f73028d5bc4df9b85264f855ed29 (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
{ lib
, buildDunePackage
, ocaml
, tezos-stdlib
, tezos-crypto
, tezos-rust-libs
, alcotest-lwt
}:

buildDunePackage {
  pname = "tezos-sapling";
  inherit (tezos-stdlib) version src useDune2 preBuild;

  propagatedBuildInputs = [
    tezos-crypto
    tezos-rust-libs
  ];

  checkInputs = [
    alcotest-lwt
  ];

  doCheck = false;

  # This is a hack to work around the hack used in the dune files
  OPAM_SWITCH_PREFIX = "${tezos-rust-libs}";

  meta = tezos-stdlib.meta // {
    description = "Tezos/Protocol: economic-protocol definition";
  };
}