2021-07-24 12:14:16 +00:00
|
|
|
{ lib
|
|
|
|
, buildDunePackage
|
|
|
|
, alcotest-lwt
|
2021-10-14 00:43:12 +00:00
|
|
|
, astring
|
2022-01-25 03:21:06 +00:00
|
|
|
, lwt
|
|
|
|
, lwt-canceler
|
2021-07-24 12:14:16 +00:00
|
|
|
, lwt-watcher
|
2022-01-25 03:21:06 +00:00
|
|
|
, ringo
|
|
|
|
, tezos-base-test-helpers
|
|
|
|
, tezos-p2p-services
|
|
|
|
, tezos-stdlib
|
2021-07-24 12:14:16 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
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 = [
|
2022-01-25 03:21:06 +00:00
|
|
|
lwt
|
|
|
|
lwt-canceler
|
2021-07-24 12:14:16 +00:00
|
|
|
lwt-watcher
|
2022-01-25 03:21:06 +00:00
|
|
|
ringo
|
|
|
|
tezos-p2p-services
|
2021-07-24 12:14:16 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
alcotest-lwt
|
2022-01-25 03:21:06 +00:00
|
|
|
astring
|
|
|
|
tezos-base-test-helpers
|
2021-07-24 12:14:16 +00:00
|
|
|
];
|
|
|
|
|
2022-01-25 03:21:06 +00:00
|
|
|
doCheck = false; # some tests fail
|
2021-10-14 00:43:12 +00:00
|
|
|
|
2021-07-24 12:14:16 +00:00
|
|
|
meta = tezos-stdlib.meta // {
|
|
|
|
description = "Tezos: library for a pool of P2P connections";
|
|
|
|
};
|
|
|
|
}
|