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";
|
|
|
|
|
2022-07-14 12:49:19 +00:00
|
|
|
inherit (cohttp) version src;
|
2021-02-05 17:12:51 +00:00
|
|
|
|
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";
|
|
|
|
};
|
|
|
|
}
|