Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, buildDunePackage
2, cohttp, cohttp-lwt, logs, lwt, js_of_ocaml, js_of_ocaml-ppx, js_of_ocaml-lwt
3, nodejs, lwt_ppx
4}:
5
6buildDunePackage {
7 pname = "cohttp-lwt-jsoo";
8 inherit (cohttp-lwt) version src;
9
10 duneVersion = "3";
11
12 propagatedBuildInputs = [
13 cohttp
14 cohttp-lwt
15 logs
16 lwt
17 js_of_ocaml
18 js_of_ocaml-ppx
19 js_of_ocaml-lwt
20 ];
21
22 doCheck = true;
23 checkInputs = [
24 nodejs
25 lwt_ppx
26 ];
27
28 meta = cohttp-lwt.meta // {
29 description = "CoHTTP implementation for the Js_of_ocaml JavaScript compiler";
30 };
31}