about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/bls12-381/unix.nix
blob: 3ac3bb5d99f24251a4ec2ba75f492e1f483f4840 (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
32
33
34
{ lib
, buildDunePackage
, bls12-381
, hex
, integers
, zarith
, alcotest
, bisect_ppx
, ff-pbt
}:

buildDunePackage {
  pname = "bls12-381-unix";

  inherit (bls12-381) version src useDune2 doCheck;

  propagatedBuildInputs = [
    bls12-381
    hex
    integers
    zarith
  ];

  checkInputs = [
    alcotest
    bisect_ppx
    ff-pbt
  ];

  meta = {
    description = "UNIX version of BLS12-381 primitives implementing the virtual package bls12-381";
    license = lib.licenses.mit;
  };
}