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