nixpkgs-suyu/pkgs/development/ocaml-modules/cohttp/mirage.nix
Vincent Laporte a8406971c3 ocamlPackages.dns: 5.0.1 → 6.1.4
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
2022-07-07 20:29:09 +02:00

23 lines
521 B
Nix

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