2022-10-21 18:38:19 +00:00
|
|
|
{ lib
|
|
|
|
, buildDunePackage
|
|
|
|
, hacl-star
|
|
|
|
, bls12-381
|
2023-05-24 13:37:59 +00:00
|
|
|
, bls12-381-hash
|
2022-10-21 18:38:19 +00:00
|
|
|
, tezos-bls12-381-polynomial
|
2023-05-24 13:37:59 +00:00
|
|
|
, polynomial
|
2022-10-21 18:38:19 +00:00
|
|
|
, 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
|
2023-05-24 13:37:59 +00:00
|
|
|
bls12-381-hash
|
2022-10-21 18:38:19 +00:00
|
|
|
tezos-bls12-381-polynomial
|
|
|
|
data-encoding
|
|
|
|
hex
|
|
|
|
stdint
|
|
|
|
ff
|
|
|
|
mec
|
2023-05-24 13:37:59 +00:00
|
|
|
polynomial
|
2022-10-21 18:38:19 +00:00
|
|
|
];
|
|
|
|
|
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";
|
|
|
|
};
|
|
|
|
}
|