Files
nixpkgs/pkgs/development/ocaml-modules/cohttp/eio.nix
2026-08-09 14:25:04 +02:00

51 lines
602 B
Nix

{
buildDunePackage,
cohttp,
eio,
fmt,
http,
logs,
ptime,
uri,
alcotest,
ca-certs,
eio_main,
ppx_expect,
tls-eio,
}:
buildDunePackage {
pname = "cohttp-eio";
inherit (cohttp)
version
src
;
minimalOCamlVersion = "5.1";
propagatedBuildInputs = [
cohttp
eio
fmt
http
logs
ptime
uri
];
__darwinAllowLocalNetworking = true;
doCheck = true;
checkInputs = [
alcotest
ca-certs
eio_main
ppx_expect
tls-eio
];
meta = cohttp.meta // {
description = "CoHTTP implementation with eio backend";
};
}