ocamlPackages.cohttp-eio: init at 6.2.0
This commit is contained in:
@@ -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";
|
||||
};
|
||||
}
|
||||
@@ -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 { };
|
||||
|
||||
Reference in New Issue
Block a user