ocamlPackages.cohttp-lwt-jsoo: init at 5.1.0

This commit is contained in:
Niols 2023-04-17 16:07:08 +01:00
parent 2258ba6ca7
commit 6f5e66339c
No known key found for this signature in database
GPG key ID: 0B4EB01A5527EA54
2 changed files with 33 additions and 0 deletions

View file

@ -0,0 +1,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";
};
}

View file

@ -209,6 +209,8 @@ let
cohttp-lwt = callPackage ../development/ocaml-modules/cohttp/lwt.nix { };
cohttp-lwt-jsoo = callPackage ../development/ocaml-modules/cohttp/lwt-jsoo.nix { };
cohttp-lwt-unix = callPackage ../development/ocaml-modules/cohttp/lwt-unix.nix { };
cohttp-mirage = callPackage ../development/ocaml-modules/cohttp/mirage.nix { };