Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 buildDunePackage, 3 rpclib, 4 lwt, 5 alcotest-lwt, 6 ppx_deriving_rpc, 7 yojson, 8}: 9 10buildDunePackage { 11 pname = "rpclib-lwt"; 12 inherit (rpclib) version src; 13 duneVersion = "3"; 14 15 propagatedBuildInputs = [ 16 lwt 17 rpclib 18 ]; 19 20 checkInputs = [ 21 alcotest-lwt 22 ppx_deriving_rpc 23 yojson 24 ]; 25 doCheck = true; 26 27 meta = rpclib.meta // { 28 description = "Library to deal with RPCs in OCaml - Lwt interface"; 29 }; 30}