4bac34ead1
GitOrigin-RevId: 724bfc0892363087709bd3a5a1666296759154b1
33 lines
701 B
Nix
33 lines
701 B
Nix
{ lib, buildDunePackage, cohttp-lwt
|
|
, conduit-lwt-unix, conduit-lwt, ppx_sexp_conv
|
|
, cmdliner, fmt, logs, magic-mime
|
|
, ounit
|
|
, cacert
|
|
}:
|
|
|
|
buildDunePackage {
|
|
pname = "cohttp-lwt-unix";
|
|
inherit (cohttp-lwt) version src;
|
|
|
|
duneVersion = "3";
|
|
|
|
buildInputs = [ cmdliner ppx_sexp_conv ];
|
|
|
|
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;
|
|
checkInputs = [ ounit cacert ];
|
|
|
|
meta = cohttp-lwt.meta // {
|
|
description = "CoHTTP implementation for Unix and Windows using Lwt";
|
|
};
|
|
}
|