Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ buildDunePackage, cohttp, cohttp-lwt
2, mirage-flow, mirage-channel, mirage-kv
3, conduit, conduit-mirage, lwt
4, astring, magic-mime
5, ppx_sexp_conv
6}:
7
8buildDunePackage {
9 pname = "cohttp-mirage";
10
11 inherit (cohttp) version src;
12
13 duneVersion = "3";
14
15 nativeBuildInputs = [ ppx_sexp_conv ];
16
17 propagatedBuildInputs = [
18 mirage-flow mirage-channel conduit conduit-mirage mirage-kv
19 lwt cohttp cohttp-lwt astring magic-mime
20 ];
21
22 meta = cohttp.meta // {
23 description = "CoHTTP implementation for the MirageOS unikernel";
24 };
25}