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

buildDunePackage {
  pname = "cohttp-mirage";

  inherit (cohttp) version src minimumOCamlVersion useDune2;

  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";
  };
}