ocamlPackages.cohttp-eio: init at 6.2.0

This commit is contained in:
Marijan Petričević
2025-12-27 17:40:16 +07:00
parent eec3d569de
commit ec1e7ec67f
2 changed files with 48 additions and 0 deletions
@@ -0,0 +1,46 @@
{
buildDunePackage,
cohttp,
eio,
fmt,
http,
logs,
ptime,
uri,
alcotest,
ca-certs,
eio_main,
tls-eio,
}:
buildDunePackage {
pname = "cohttp-eio";
inherit (cohttp)
version
src
;
minimalOCamlVersion = "5.1";
propagatedBuildInputs = [
cohttp
eio
fmt
http
logs
ptime
uri
];
doCheck = true;
checkInputs = [
alcotest
ca-certs
eio_main
tls-eio
];
meta = cohttp.meta // {
description = "CoHTTP implementation with eio backend";
};
}
+2
View File
@@ -261,6 +261,8 @@ let
cohttp-async = callPackage ../development/ocaml-modules/cohttp/async.nix { };
cohttp-eio = callPackage ../development/ocaml-modules/cohttp/eio.nix { };
cohttp-lwt = callPackage ../development/ocaml-modules/cohttp/lwt.nix { };
cohttp-lwt-jsoo = callPackage ../development/ocaml-modules/cohttp/lwt-jsoo.nix { };