2022-10-21 18:38:19 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildDunePackage,
|
|
|
|
hacl-star,
|
|
|
|
bls12-381,
|
|
|
|
tezos-bls12-381-polynomial,
|
|
|
|
data-encoding,
|
|
|
|
tezos-plompiler,
|
|
|
|
alcotest,
|
|
|
|
qcheck-alcotest,
|
|
|
|
bisect_ppx,
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "tezos-plonk";
|
|
|
|
duneVersion = "3";
|
|
|
|
|
|
|
|
inherit (tezos-bls12-381-polynomial) version src;
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
hacl-star
|
|
|
|
bls12-381
|
|
|
|
tezos-bls12-381-polynomial
|
|
|
|
data-encoding
|
|
|
|
tezos-plompiler
|
|
|
|
];
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [ alcotest qcheck-alcotest bisect_ppx ];
|
2022-10-21 18:38:19 +00:00
|
|
|
|
|
|
|
doCheck = false; # broken
|
|
|
|
|
|
|
|
meta = tezos-bls12-381-polynomial.meta // {
|
|
|
|
description = "Plonk zero-knowledge proving system";
|
|
|
|
};
|
|
|
|
}
|