From 18a8d8b4d8fcdb980070db5990963db95025e609 Mon Sep 17 00:00:00 2001 From: r17x Date: Sat, 21 Dec 2024 05:48:02 +0700 Subject: [PATCH] ocamlPackages.httpun-ws-lwt: init at 0.2.0 --- .../ocaml-modules/httpun-ws/lwt.nix | 27 +++++++++++++++++++ pkgs/top-level/ocaml-packages.nix | 1 + 2 files changed, 28 insertions(+) create mode 100644 pkgs/development/ocaml-modules/httpun-ws/lwt.nix diff --git a/pkgs/development/ocaml-modules/httpun-ws/lwt.nix b/pkgs/development/ocaml-modules/httpun-ws/lwt.nix new file mode 100644 index 000000000000..e1f604d633cd --- /dev/null +++ b/pkgs/development/ocaml-modules/httpun-ws/lwt.nix @@ -0,0 +1,27 @@ +{ + lib, + buildDunePackage, + lwt, + digestif, + httpun-ws, + gluten-lwt, +}: + +buildDunePackage { + pname = "httpun-ws-lwt"; + + inherit (httpun-ws) src version; + + propagatedBuildInputs = [ + httpun-ws + lwt + digestif + gluten-lwt + ]; + + doCheck = true; + + meta = httpun-ws.meta // { + description = "Lwt support for httpun-ws"; + }; +} diff --git a/pkgs/top-level/ocaml-packages.nix b/pkgs/top-level/ocaml-packages.nix index 1eb7e48874fd..38a06ba1011e 100644 --- a/pkgs/top-level/ocaml-packages.nix +++ b/pkgs/top-level/ocaml-packages.nix @@ -705,6 +705,7 @@ let httpun-ws = callPackage ../development/ocaml-modules/httpun-ws { }; + httpun-ws-lwt = callPackage ../development/ocaml-modules/httpun-ws/lwt.nix { }; hxd = callPackage ../development/ocaml-modules/hxd { }; ### I ###