mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 23:23:07 +00:00
a8406971c3
ocamlPackages.conduit: 4.0.2 → 5.1.0 ocamlPackages.cohttp: 4.0.0 → 5.0.0 ocamlPackages.ocsigen_server: fix compatibility with cohttp-5.0.0
27 lines
659 B
Nix
27 lines
659 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;
|
|
|
|
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";
|
|
};
|
|
}
|