2021-07-07 11:34:04 +02:00
|
|
|
{ lib
|
|
|
|
, buildDunePackage
|
|
|
|
, tezos-stdlib
|
|
|
|
, tezos-p2p-services
|
2021-09-21 10:47:59 +02:00
|
|
|
, tezos-test-services
|
2021-07-07 11:34:04 +02:00
|
|
|
, alcotest-lwt
|
2021-09-21 10:47:59 +02:00
|
|
|
, astring
|
2021-07-07 11:34:04 +02:00
|
|
|
, lwt-watcher
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildDunePackage {
|
|
|
|
pname = "tezos-p2p";
|
2021-09-21 10:47:59 +02:00
|
|
|
inherit (tezos-stdlib) version useDune2;
|
|
|
|
src = "${tezos-stdlib.base_src}/src/lib_p2p";
|
2021-07-07 11:34:04 +02:00
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
tezos-p2p-services
|
|
|
|
lwt-watcher
|
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [
|
2021-09-21 10:47:59 +02:00
|
|
|
astring
|
2021-07-07 11:34:04 +02:00
|
|
|
alcotest-lwt
|
2021-09-21 10:47:59 +02:00
|
|
|
tezos-test-services
|
2021-07-07 11:34:04 +02:00
|
|
|
];
|
|
|
|
|
2021-09-21 10:47:59 +02:00
|
|
|
doCheck = true;
|
|
|
|
|
2021-07-07 11:34:04 +02:00
|
|
|
meta = tezos-stdlib.meta // {
|
|
|
|
description = "Tezos: library for a pool of P2P connections";
|
|
|
|
};
|
|
|
|
}
|