about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/ocaml-modules/tezos/p2p.nix
blob: cec1f1ef7b6e697ccfb5a71c263aebfa7d0f77e9 (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
{ lib
, buildDunePackage
, tezos-stdlib
, tezos-p2p-services
, tezos-test-services
, alcotest-lwt
, astring
, lwt-watcher
}:

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

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

  checkInputs = [
    astring
    alcotest-lwt
    tezos-test-services
  ];

  doCheck = true;

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