2022-01-25 03:21:06 +00:00
|
|
|
{ lib
|
|
|
|
, buildDunePackage
|
|
|
|
, fetchFromGitLab
|
|
|
|
, bls12-381-gen
|
|
|
|
, ctypes
|
|
|
|
, ff-pbt
|
|
|
|
, ff-sig
|
|
|
|
, tezos-rust-libs
|
|
|
|
, zarith
|
|
|
|
, alcotest
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "bls12-381-legacy";
|
|
|
|
|
2023-03-24 00:07:29 +00:00
|
|
|
inherit (bls12-381-gen) version src doCheck;
|
|
|
|
|
|
|
|
duneVersion = "3";
|
2022-01-25 03:21:06 +00:00
|
|
|
|
|
|
|
minimalOCamlVersion = "4.08";
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
bls12-381-gen
|
|
|
|
ctypes
|
|
|
|
ff-pbt
|
|
|
|
ff-sig
|
|
|
|
tezos-rust-libs
|
|
|
|
zarith
|
|
|
|
];
|
|
|
|
|
2023-02-09 11:40:11 +00:00
|
|
|
checkInputs = [
|
2022-01-25 03:21:06 +00:00
|
|
|
alcotest
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "https://gitlab.com/dannywillems/ocaml-bls12-381";
|
|
|
|
description = "UNIX version of BLS12-381 primitives, not implementating the virtual package bls12-381";
|
|
|
|
license = lib.licenses.mit;
|
|
|
|
};
|
|
|
|
}
|