nixpkgs-suyu/pkgs/development/ocaml-modules/tezos/sapling.nix
Ulrik Strid 2db064d028 ocamlPackages.tezos-*: 8.3 -> 10.2
ocamlPackages.lwt-canceler: 0.2 -> 0.3
ocamlPackages.json-data-encoding: 0.8 -> 0.10
ocamlPackages.data-encoding: 0.2.0 -> 0.4.0
ocamlPackages.ff-sig, ff-pbt: init at 0.6.1
ocamlPacakges.bls12-381: 0.3.15 -> 0.4.2

Co-authored-by: Vincent Laporte <vbgl@users.noreply.github.com>
2021-10-13 10:04:20 +02:00

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