pytrainer: unpin python 3.10
[NixPkgs.git] / pkgs / development / ocaml-modules / cohttp / lwt-unix.nix
blobe7fecbefb91a0dc5d242bb75f83df75a2360aef0
1 { buildDunePackage, cohttp-lwt
2 , conduit-lwt-unix, conduit-lwt, ppx_sexp_conv
3 , cmdliner, fmt, logs, magic-mime
4 , ounit
5 , cacert
6 }:
8 buildDunePackage {
9   pname = "cohttp-lwt-unix";
10   inherit (cohttp-lwt) version src;
12   duneVersion = "3";
14   buildInputs = [ cmdliner ppx_sexp_conv ];
16   propagatedBuildInputs = [
17     cohttp-lwt
18     conduit-lwt
19     conduit-lwt-unix
20     fmt
21     logs
22     magic-mime
23   ];
25   # TODO(@sternenseemann): fail for unknown reason
26   # https://github.com/mirage/ocaml-cohttp/issues/675#issuecomment-830692742
27   doCheck = false;
28   checkInputs = [ ounit cacert ];
30   meta = cohttp-lwt.meta // {
31     description = "CoHTTP implementation for Unix and Windows using Lwt";
32   };