diff --git a/pkgs/development/ocaml-modules/h2/lwt-unix.nix b/pkgs/development/ocaml-modules/h2/lwt-unix.nix new file mode 100644 index 000000000000..fa335e71e1e6 --- /dev/null +++ b/pkgs/development/ocaml-modules/h2/lwt-unix.nix @@ -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"; + }; +} diff --git a/pkgs/development/ocaml-modules/h2/lwt.nix b/pkgs/development/ocaml-modules/h2/lwt.nix new file mode 100644 index 000000000000..ea755bae592b --- /dev/null +++ b/pkgs/development/ocaml-modules/h2/lwt.nix @@ -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"; + }; +} diff --git a/pkgs/top-level/ocaml-packages.nix b/pkgs/top-level/ocaml-packages.nix index f4a2e36d3668..b48159bcc67d 100644 --- a/pkgs/top-level/ocaml-packages.nix +++ b/pkgs/top-level/ocaml-packages.nix @@ -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 { };