mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 23:54:01 +00:00
19 lines
395 B
Nix
19 lines
395 B
Nix
|
{ lib, buildDunePackage, rpclib
|
||
|
, lwt
|
||
|
, alcotest-lwt, ppx_deriving_rpc, yojson
|
||
|
}:
|
||
|
|
||
|
buildDunePackage {
|
||
|
pname = "rpclib-lwt";
|
||
|
inherit (rpclib) version useDune2 src;
|
||
|
|
||
|
propagatedBuildInputs = [ lwt rpclib ];
|
||
|
|
||
|
checkInputs = [ alcotest-lwt ppx_deriving_rpc yojson ];
|
||
|
doCheck = true;
|
||
|
|
||
|
meta = rpclib.meta // {
|
||
|
description = "A library to deal with RPCs in OCaml - Lwt interface";
|
||
|
};
|
||
|
}
|