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