Merge pull request #226662 from Niols/cohttp-missing-2-packages
Add two missing `ocamlPackages.cohttp-*` packages
This commit is contained in:
@@ -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";
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
{ lib, buildDunePackage, cohttp }:
|
||||
|
||||
buildDunePackage {
|
||||
pname = "cohttp-top";
|
||||
inherit (cohttp) version src;
|
||||
|
||||
duneVersion = "3";
|
||||
|
||||
propagatedBuildInputs = [ cohttp ];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = cohttp.meta // {
|
||||
description = "CoHTTP toplevel pretty printers for HTTP types";
|
||||
};
|
||||
}
|
||||
@@ -209,10 +209,14 @@ 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 { };
|
||||
|
||||
cohttp-top = callPackage ../development/ocaml-modules/cohttp/top.nix { };
|
||||
|
||||
coin = callPackage ../development/ocaml-modules/coin { };
|
||||
|
||||
color = callPackage ../development/ocaml-modules/color { };
|
||||
|
||||
Reference in New Issue
Block a user