nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 buildDunePackage,
3 cohttp-lwt,
4 conduit-lwt-unix,
5 conduit-lwt,
6 ppx_sexp_conv,
7 cmdliner,
8 fmt,
9 logs,
10 magic-mime,
11 ounit,
12 cacert,
13}:
14
15buildDunePackage {
16 pname = "cohttp-lwt-unix";
17 inherit (cohttp-lwt) version src;
18
19 buildInputs = [
20 cmdliner
21 ppx_sexp_conv
22 ];
23
24 propagatedBuildInputs = [
25 cohttp-lwt
26 conduit-lwt
27 conduit-lwt-unix
28 fmt
29 logs
30 magic-mime
31 ];
32
33 # TODO(@sternenseemann): fail for unknown reason
34 # https://github.com/mirage/ocaml-cohttp/issues/675#issuecomment-830692742
35 doCheck = false;
36 checkInputs = [
37 ounit
38 cacert
39 ];
40
41 meta = cohttp-lwt.meta // {
42 description = "CoHTTP implementation for Unix and Windows using Lwt";
43 };
44}