depot/third_party/nixpkgs/pkgs/development/ocaml-modules/tezos/crypto.nix
Default email 6064764516 Project import generated by Copybara.
GitOrigin-RevId: 2cf9db0e3d45b9d00f16f2836cb1297bcadc475e
2021-10-14 08:43:12 +08:00

42 lines
728 B
Nix

{ lib
, buildDunePackage
, tezos-stdlib
, tezos-rpc
, tezos-clic
, tezos-hacl-glue
, tezos-hacl-glue-unix
, secp256k1-internal
, ringo
, bls12-381
, bls12-381-unix
, tezos-test-helpers
, alcotest-lwt
}:
buildDunePackage {
pname = "tezos-crypto";
inherit (tezos-stdlib) version useDune2;
src = "${tezos-stdlib.base_src}/src/lib_crypto";
propagatedBuildInputs = [
tezos-rpc
tezos-clic
tezos-hacl-glue
tezos-hacl-glue-unix
secp256k1-internal
ringo
bls12-381
bls12-381-unix
];
checkInputs = [
tezos-test-helpers
alcotest-lwt
];
doCheck = true;
meta = tezos-stdlib.meta // {
description = "Tezos: library with all the cryptographic primitives used by Tezos";
};
}