summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/rpclib/lwt.nix
blob: 69b2bf7499082ffe1fb2407e38360ab94a434ada (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{ lib, buildDunePackage, rpclib
, lwt
, alcotest-lwt, ppx_deriving_rpc, yojson
}:

buildDunePackage {
  pname = "rpclib-lwt";
  inherit (rpclib) version useDune2 src;

  propagatedBuildInputs = [ lwt rpclib ];

  nativeCheckInputs = [ alcotest-lwt ppx_deriving_rpc yojson ];
  doCheck = true;

  meta = rpclib.meta // {
    description = "A library to deal with RPCs in OCaml - Lwt interface";
  };
}