about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/tezos/p2p.nix
blob: bdaabfda1b7d9bdca4f4d3b3e23187b6f53493a9 (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
, alcotest-lwt
, astring
, lwt
, lwt-canceler
, lwt-watcher
, ringo
, tezos-base-test-helpers
, tezos-p2p-services
, tezos-stdlib
}:

buildDunePackage {
  pname = "tezos-p2p";
  inherit (tezos-stdlib) version useDune2;
  src = "${tezos-stdlib.base_src}/src/lib_p2p";

  propagatedBuildInputs = [
    lwt
    lwt-canceler
    lwt-watcher
    ringo
    tezos-p2p-services
  ];

  checkInputs = [
    alcotest-lwt
    astring
    tezos-base-test-helpers
  ];

  doCheck = false; # some tests fail

  meta = tezos-stdlib.meta // {
    description = "Tezos: library for a pool of P2P connections";
  };
}