about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/ocaml-modules/bls12-381/default.nix
blob: e7426cf10e9d368512cc9a7ab43413003afc1dde (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ lib, buildDunePackage, bls12-381-gen, ff-sig, zarith, ctypes, alcotest }:

buildDunePackage rec {
  pname = "bls12-381";

  inherit (bls12-381-gen) version src useDune2 doCheck;

  minimalOCamlVersion = "4.08";
  propagatedBuildInputs = [
    ff-sig
    zarith
    ctypes
    bls12-381-gen
  ];

  checkInputs = [
    alcotest
  ];

  meta = {
    homepage = "https://gitlab.com/dannywillems/ocaml-bls12-381";
    description = "OCaml binding for bls12-381 from librustzcash";
    license = lib.licenses.mit;
    maintainers = [ lib.maintainers.ulrikstrid ];
  };
}