2021-01-15 22:18:51 +00:00
|
|
|
{ lib, 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 = [
|
|
|
|
cohttp-lwt conduit-lwt conduit-lwt-unix fmt logs magic-mime
|
|
|
|
];
|
|
|
|
|
|
|
|
# TODO(@sternenseemann): fail for unknown reason
|
|
|
|
# https://github.com/mirage/ocaml-cohttp/issues/675#issuecomment-830692742
|
|
|
|
doCheck = false;
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [ 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
|
|
|
}
|