2023-02-09 11:40:11 +00:00
|
|
|
{ lib
|
|
|
|
, buildDunePackage
|
|
|
|
, rpclib
|
2020-11-30 08:33:03 +00:00
|
|
|
, lwt
|
2023-02-09 11:40:11 +00:00
|
|
|
, alcotest-lwt
|
|
|
|
, ppx_deriving_rpc
|
|
|
|
, yojson
|
2020-11-30 08:33:03 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildDunePackage {
|
|
|
|
pname = "rpclib-lwt";
|
2023-02-09 11:40:11 +00:00
|
|
|
inherit (rpclib) version src;
|
|
|
|
duneVersion = "3";
|
2020-11-30 08:33:03 +00:00
|
|
|
|
|
|
|
propagatedBuildInputs = [ lwt rpclib ];
|
|
|
|
|
2023-02-09 11:40:11 +00:00
|
|
|
checkInputs = [ 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";
|
|
|
|
};
|
|
|
|
}
|