1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 20:21:14 +00:00

ocamlPackages.cohttp-mirage: init at 2.5.4

This commit is contained in:
sternenseemann 2021-01-17 12:58:24 +01:00 committed by Vincent Laporte
parent 0378fedc17
commit 2483ca4c62
2 changed files with 22 additions and 0 deletions

View file

@ -0,0 +1,20 @@
{ buildDunePackage, cohttp, cohttp-lwt
, mirage-flow, mirage-channel, mirage-kv
, conduit, conduit-mirage, lwt
, astring, magic-mime
}:
buildDunePackage {
pname = "cohttp-mirage";
inherit (cohttp) version src minimumOCamlVersion useDune2;
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";
};
}

View file

@ -146,6 +146,8 @@ let
cohttp-lwt-unix = callPackage ../development/ocaml-modules/cohttp/lwt-unix.nix { };
cohttp-mirage = callPackage ../development/ocaml-modules/cohttp/mirage.nix { };
conduit = callPackage ../development/ocaml-modules/conduit { };
conduit-async = callPackage ../development/ocaml-modules/conduit/async.nix { };