about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/bls12-381/default.nix
blob: 0568f8990320533472a2e2c5d83a43b22c60bab3 (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
27
28
29
30
31
{ lib, buildDunePackage, fetchFromGitLab, ff-sig, zarith }:

buildDunePackage rec {
  pname = "bls12-381";
  version = "1.1.0";

  src = fetchFromGitLab {
    owner = "dannywillems";
    repo = "ocaml-bls12-381";
    rev = "22247018c0651ea62ae898c8ffcc388cc73f758f";
    sha256 = "ku6Rc+/lwFDoHTZTxgkhiF+kLkagi7944ntcu9vXWgI=";
  };

  useDune2 = true;

  minimalOCamlVersion = "4.08";

  propagatedBuildInputs = [
    ff-sig
    zarith
  ];

  doCheck = true;

  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 ];
  };
}