summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/cohttp/mirage.nix
blob: d2d3e945645bc94a1dce0468a0d81f9c1df4991c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ buildDunePackage, cohttp, cohttp-lwt
, mirage-flow, mirage-channel, mirage-kv
, conduit, conduit-mirage, lwt
, astring, magic-mime
, ppx_sexp_conv
}:

buildDunePackage {
  pname = "cohttp-mirage";

  inherit (cohttp) version src minimumOCamlVersion useDune2;

  nativeBuildInputs = [ ppx_sexp_conv ];

  propagatedBuildInputs = [
    mirage-flow mirage-channel conduit conduit-mirage mirage-kv
    lwt cohttp cohttp-lwt astring magic-mime
  ];

  meta = cohttp.meta // {
    description = "CoHTTP implementation for the MirageOS unikernel";
  };
}