nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 buildDunePackage,
3 cohttp,
4 cohttp-lwt,
5 logs,
6 lwt,
7 js_of_ocaml,
8 js_of_ocaml-ppx,
9 js_of_ocaml-lwt,
10 nodejs,
11 lwt_ppx,
12}:
13
14buildDunePackage {
15 pname = "cohttp-lwt-jsoo";
16 inherit (cohttp-lwt) version src;
17
18 propagatedBuildInputs = [
19 cohttp
20 cohttp-lwt
21 logs
22 lwt
23 js_of_ocaml
24 js_of_ocaml-ppx
25 js_of_ocaml-lwt
26 ];
27
28 doCheck = true;
29 checkInputs = [
30 nodejs
31 lwt_ppx
32 ];
33
34 meta = cohttp-lwt.meta // {
35 description = "CoHTTP implementation for the Js_of_ocaml JavaScript compiler";
36 };
37}