ocamlPackages.h2: init h2-lwt, h2-lwt-unix at 0.13.0

This commit is contained in:
r17x 2024-12-29 00:06:49 +07:00 committed by Vincent Laporte
parent e069bef58b
commit 87f2886384
3 changed files with 49 additions and 0 deletions

View File

@ -0,0 +1,23 @@
{
buildDunePackage,
h2,
h2-lwt,
gluten-lwt-unix,
faraday-lwt-unix,
}:
buildDunePackage {
pname = "h2-lwt-unix";
inherit (h2) src version;
propagatedBuildInputs = [
gluten-lwt-unix
faraday-lwt-unix
h2-lwt
];
meta = h2.meta // {
description = "Lwt Unix support for h2";
};
}

View File

@ -0,0 +1,22 @@
{
buildDunePackage,
h2,
lwt,
gluten-lwt,
}:
buildDunePackage {
pname = "h2-lwt";
inherit (h2) src version;
propagatedBuildInputs = [
lwt
gluten-lwt
h2
];
meta = h2.meta // {
description = "Lwt support for h2";
};
}

View File

@ -668,6 +668,10 @@ let
h2-eio = callPackage ../development/ocaml-modules/h2/eio.nix { };
h2-lwt = callPackage ../development/ocaml-modules/h2/lwt.nix { };
h2-lwt-unix = callPackage ../development/ocaml-modules/h2/lwt-unix.nix { };
hack_parallel = callPackage ../development/ocaml-modules/hack_parallel { };
hacl-star = callPackage ../development/ocaml-modules/hacl-star { };