depot/third_party/nixpkgs/pkgs/development/ocaml-modules/rpclib/lwt.nix

22 lines
403 B
Nix

{ buildDunePackage
, rpclib
, lwt
, alcotest-lwt
, ppx_deriving_rpc
, yojson
}:
buildDunePackage {
pname = "rpclib-lwt";
inherit (rpclib) version src;
duneVersion = "3";
propagatedBuildInputs = [ lwt rpclib ];
checkInputs = [ alcotest-lwt ppx_deriving_rpc yojson ];
doCheck = true;
meta = rpclib.meta // {
description = "Library to deal with RPCs in OCaml - Lwt interface";
};
}