2024-07-27 06:49:29 +00:00
|
|
|
{ buildDunePackage, cohttp-lwt
|
2021-05-20 23:08:51 +00:00
|
|
|
, conduit-lwt-unix, conduit-lwt, ppx_sexp_conv
|
|
|
|
, cmdliner, fmt, logs, magic-mime
|
|
|
|
, ounit
|
|
|
|
, cacert
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildDunePackage {
|
2021-02-05 17:12:51 +00:00
|
|
|
pname = "cohttp-lwt-unix";
|
2021-05-20 23:08:51 +00:00
|
|
|
inherit (cohttp-lwt) version src;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-01-20 10:41:00 +00:00
|
|
|
duneVersion = "3";
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
buildInputs = [ cmdliner ppx_sexp_conv ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-05-20 23:08:51 +00:00
|
|
|
propagatedBuildInputs = [
|
2023-02-09 11:40:11 +00:00
|
|
|
cohttp-lwt
|
|
|
|
conduit-lwt
|
|
|
|
conduit-lwt-unix
|
|
|
|
fmt
|
|
|
|
logs
|
|
|
|
magic-mime
|
2021-05-20 23:08:51 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
# TODO(@sternenseemann): fail for unknown reason
|
|
|
|
# https://github.com/mirage/ocaml-cohttp/issues/675#issuecomment-830692742
|
|
|
|
doCheck = false;
|
2023-02-09 11:40:11 +00:00
|
|
|
checkInputs = [ ounit cacert ];
|
2021-05-20 23:08:51 +00:00
|
|
|
|
|
|
|
meta = cohttp-lwt.meta // {
|
|
|
|
description = "CoHTTP implementation for Unix and Windows using Lwt";
|
|
|
|
};
|
2020-04-24 23:36:52 +00:00
|
|
|
}
|