94427deb9d
GitOrigin-RevId: f91ee3065de91a3531329a674a45ddcb3467a650
44 lines
717 B
Nix
44 lines
717 B
Nix
{ lib
|
|
, buildDunePackage
|
|
, hacl-star
|
|
, bls12-381
|
|
, bls12-381-hash
|
|
, tezos-bls12-381-polynomial
|
|
, 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
|
|
bls12-381-hash
|
|
tezos-bls12-381-polynomial
|
|
data-encoding
|
|
hex
|
|
stdint
|
|
ff
|
|
mec
|
|
polynomial
|
|
];
|
|
|
|
checkInputs = [ alcotest qcheck-alcotest bisect_ppx ];
|
|
|
|
doCheck = false; # circular deps
|
|
|
|
meta = tezos-bls12-381-polynomial.meta // {
|
|
description = "Library to write arithmetic circuits for Plonk";
|
|
};
|
|
}
|