3e2acf8aff
GitOrigin-RevId: d42cd445dde587e9a993cd9434cb43da07c4c5de
23 lines
550 B
Nix
23 lines
550 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 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";
|
|
};
|
|
}
|