summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/cohttp/lwt-jsoo.nix
blob: 611abb7751ba715a275c63b71c85dc128b46bf15 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{ lib, buildDunePackage
, cohttp, cohttp-lwt, logs, lwt, js_of_ocaml, js_of_ocaml-ppx, js_of_ocaml-lwt
, nodejs, lwt_ppx
}:

buildDunePackage {
  pname = "cohttp-lwt-jsoo";
  inherit (cohttp-lwt) version src;

  duneVersion = "3";

  propagatedBuildInputs = [
    cohttp
    cohttp-lwt
    logs
    lwt
    js_of_ocaml
    js_of_ocaml-ppx
    js_of_ocaml-lwt
  ];

  doCheck = true;
  checkInputs = [
    nodejs
    lwt_ppx
  ];

  meta = cohttp-lwt.meta // {
    description = "CoHTTP implementation for the Js_of_ocaml JavaScript compiler";
  };
}