nixpkgs-suyu/pkgs/development/ocaml-modules/bls12-381/gen.nix
Ulrik Strid 2db064d028 ocamlPackages.tezos-*: 8.3 -> 10.2
ocamlPackages.lwt-canceler: 0.2 -> 0.3
ocamlPackages.json-data-encoding: 0.8 -> 0.10
ocamlPackages.data-encoding: 0.2.0 -> 0.4.0
ocamlPackages.ff-sig, ff-pbt: init at 0.6.1
ocamlPacakges.bls12-381: 0.3.15 -> 0.4.2

Co-authored-by: Vincent Laporte <vbgl@users.noreply.github.com>
2021-10-13 10:04:20 +02:00

30 lines
690 B
Nix

{ lib, fetchFromGitLab, buildDunePackage, ff-sig, zarith }:
buildDunePackage rec {
pname = "bls12-381-gen";
version = "0.4.2";
src = fetchFromGitLab {
owner = "dannywillems";
repo = "ocaml-bls12-381";
rev = version;
sha256 = "0jxc8qrdn74brmzjns1xycv3cb257kx5pa3ripgl9ci4njkv87n2";
};
useDune2 = true;
minimalOCamlVersion = "4.08";
propagatedBuildInputs = [
ff-sig
zarith
];
doCheck = true;
meta = {
homepage = "https://gitlab.com/dannywillems/ocaml-bls12-381";
description = "Functors to generate BLS12-381 primitives based on stubs";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.ulrikstrid ];
};
}