about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/bls12-381/legacy.nix
blob: c72157c677e7246284c2ae8aeadd2fe3caa1e1cc (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
35
36
37
38
{ lib
, buildDunePackage
, fetchFromGitLab
, bls12-381-gen
, ctypes
, ff-pbt
, ff-sig
, tezos-rust-libs
, zarith
, alcotest
}:

buildDunePackage rec {
  pname = "bls12-381-legacy";

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

  minimalOCamlVersion = "4.08";

  propagatedBuildInputs = [
    bls12-381-gen
    ctypes
    ff-pbt
    ff-sig
    tezos-rust-libs
    zarith
  ];

  checkInputs = [
    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;
  };
}