2021-02-05 17:12:51 +00:00
|
|
|
{ buildDunePackage, cohttp, cohttp-lwt
|
|
|
|
, mirage-flow, mirage-channel, mirage-kv
|
|
|
|
, conduit, conduit-mirage, lwt
|
|
|
|
, astring, magic-mime
|
2021-05-20 23:08:51 +00:00
|
|
|
, ppx_sexp_conv
|
2021-02-05 17:12:51 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildDunePackage {
|
|
|
|
pname = "cohttp-mirage";
|
|
|
|
|
|
|
|
inherit (cohttp) version src minimumOCamlVersion useDune2;
|
|
|
|
|
2021-05-20 23:08:51 +00:00
|
|
|
nativeBuildInputs = [ ppx_sexp_conv ];
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
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";
|
|
|
|
};
|
|
|
|
}
|