6064764516
GitOrigin-RevId: 2cf9db0e3d45b9d00f16f2836cb1297bcadc475e
35 lines
675 B
Nix
35 lines
675 B
Nix
{ lib
|
|
, buildDunePackage
|
|
, ocaml
|
|
, tezos-stdlib
|
|
, tezos-crypto
|
|
, tezos-rust-libs
|
|
, tezos-test-services
|
|
, alcotest-lwt
|
|
}:
|
|
|
|
buildDunePackage {
|
|
pname = "tezos-sapling";
|
|
inherit (tezos-stdlib) version useDune2;
|
|
src = "${tezos-stdlib.base_src}/src/lib_sapling";
|
|
|
|
propagatedBuildInputs = [
|
|
tezos-crypto
|
|
tezos-rust-libs
|
|
];
|
|
|
|
checkInputs = [
|
|
alcotest-lwt
|
|
tezos-test-services
|
|
];
|
|
|
|
# requires the "zcash-params" files
|
|
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";
|
|
};
|
|
}
|