2022-10-21 18:38:19 +00:00
|
|
|
{ lib
|
|
|
|
, buildDunePackage
|
|
|
|
, hacl-star
|
|
|
|
, bls12-381
|
|
|
|
, tezos-bls12-381-polynomial
|
|
|
|
, data-encoding
|
|
|
|
, hex
|
|
|
|
, stdint
|
|
|
|
, ff
|
|
|
|
, mec
|
|
|
|
, alcotest
|
|
|
|
, qcheck-alcotest
|
|
|
|
, bisect_ppx
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "tezos-plompiler";
|
|
|
|
duneVersion = "3";
|
|
|
|
|
|
|
|
inherit (tezos-bls12-381-polynomial) version src;
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
hacl-star
|
|
|
|
bls12-381
|
|
|
|
tezos-bls12-381-polynomial
|
|
|
|
data-encoding
|
|
|
|
hex
|
|
|
|
stdint
|
|
|
|
ff
|
|
|
|
mec
|
|
|
|
];
|
|
|
|
|
2023-02-09 11:40:11 +00:00
|
|
|
checkInputs = [ alcotest qcheck-alcotest bisect_ppx ];
|
2022-10-21 18:38:19 +00:00
|
|
|
|
|
|
|
doCheck = false; # circular deps
|
|
|
|
|
|
|
|
meta = tezos-bls12-381-polynomial.meta // {
|
|
|
|
description = "Library to write arithmetic circuits for Plonk";
|
|
|
|
};
|
|
|
|
}
|