2020-11-30 08:33:03 +00:00
|
|
|
{ lib, buildDunePackage, rpclib
|
|
|
|
, lwt
|
|
|
|
, alcotest-lwt, ppx_deriving_rpc, yojson
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildDunePackage {
|
|
|
|
pname = "rpclib-lwt";
|
|
|
|
inherit (rpclib) version useDune2 src;
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ lwt rpclib ];
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [ alcotest-lwt ppx_deriving_rpc yojson ];
|
2020-11-30 08:33:03 +00:00
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
meta = rpclib.meta // {
|
|
|
|
description = "A library to deal with RPCs in OCaml - Lwt interface";
|
|
|
|
};
|
|
|
|
}
|