summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/tezos/crypto.nix
blob: 9c5bd45f94f13162ed1c565296ffeb2a4befc45f (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
, tezos-stdlib
, tezos-clic
, tezos-rpc
, bls12-381
, hacl-star
, secp256k1-internal
, uecc
, ringo
, ff
, alcotest
, alcotest-lwt
}:

buildDunePackage {
  pname = "tezos-crypto";
  inherit (tezos-stdlib) version src useDune2 preBuild doCheck;

  propagatedBuildInputs = [
    tezos-clic
    tezos-rpc
    bls12-381
    hacl-star
    secp256k1-internal
    uecc
    ringo
  ];

  checkInputs = [
    alcotest
    alcotest-lwt
  ];

  meta = tezos-stdlib.meta // {
    description = "Tezos: library with all the cryptographic primitives used by Tezos";
  };
}