From 9361081879eb1cc2ceab714eb273a5befa4cf8f0 Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Thu, 6 Feb 2025 06:39:42 +0100 Subject: [PATCH] ocamlPackages.httpun-lwt: init at 0.2.0 --- pkgs/development/ocaml-modules/httpun/lwt.nix | 24 +++++++++++++++++++ pkgs/top-level/ocaml-packages.nix | 2 ++ 2 files changed, 26 insertions(+) create mode 100644 pkgs/development/ocaml-modules/httpun/lwt.nix diff --git a/pkgs/development/ocaml-modules/httpun/lwt.nix b/pkgs/development/ocaml-modules/httpun/lwt.nix new file mode 100644 index 000000000000..c4c671a8c4e6 --- /dev/null +++ b/pkgs/development/ocaml-modules/httpun/lwt.nix @@ -0,0 +1,24 @@ +{ + buildDunePackage, + httpun, + lwt, + gluten, + gluten-lwt, +}: + +buildDunePackage { + pname = "httpun-lwt"; + + inherit (httpun) version src; + + propagatedBuildInputs = [ + gluten + gluten-lwt + httpun + lwt + ]; + + meta = httpun.meta // { + description = "Lwt support for httpun"; + }; +} diff --git a/pkgs/top-level/ocaml-packages.nix b/pkgs/top-level/ocaml-packages.nix index 4706d9fa0ecd..68aa44eb0c35 100644 --- a/pkgs/top-level/ocaml-packages.nix +++ b/pkgs/top-level/ocaml-packages.nix @@ -711,6 +711,8 @@ let httpun-eio = callPackage ../development/ocaml-modules/httpun/eio.nix { }; + httpun-lwt = callPackage ../development/ocaml-modules/httpun/lwt.nix { }; + httpun-types = callPackage ../development/ocaml-modules/httpun/types.nix { }; httpun-ws = callPackage ../development/ocaml-modules/httpun-ws { };