mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
26 lines
543 B
Nix
26 lines
543 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;
|
|
|
|
duneVersion = "3";
|
|
|
|
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";
|
|
};
|
|
}
|