diff --git a/pkgs/development/ocaml-modules/gluten/async.nix b/pkgs/development/ocaml-modules/gluten/async.nix new file mode 100644 index 000000000000..b10c99f2d9a7 --- /dev/null +++ b/pkgs/development/ocaml-modules/gluten/async.nix @@ -0,0 +1,23 @@ +{ + buildDunePackage, + gluten, + async, + faraday-async, + core, +}: + +buildDunePackage { + pname = "gluten-async"; + inherit (gluten) src version; + + propagatedBuildInputs = [ + gluten + async + faraday-async + core + ]; + + meta = gluten.meta // { + description = "Async support for gluten"; + }; +} diff --git a/pkgs/top-level/ocaml-packages.nix b/pkgs/top-level/ocaml-packages.nix index 193d205f0913..f4a2e36d3668 100644 --- a/pkgs/top-level/ocaml-packages.nix +++ b/pkgs/top-level/ocaml-packages.nix @@ -627,6 +627,7 @@ let gluon = callPackage ../development/ocaml-modules/gluon { }; gluten = callPackage ../development/ocaml-modules/gluten { }; + gluten-async = callPackage ../development/ocaml-modules/gluten/async.nix { }; gluten-eio = callPackage ../development/ocaml-modules/gluten/eio.nix { }; gluten-lwt = callPackage ../development/ocaml-modules/gluten/lwt.nix { }; gluten-lwt-unix = callPackage ../development/ocaml-modules/gluten/lwt-unix.nix { };