diff --git a/pkgs/development/ocaml-modules/httpun/eio.nix b/pkgs/development/ocaml-modules/httpun/eio.nix new file mode 100644 index 000000000000..1b3160d699f1 --- /dev/null +++ b/pkgs/development/ocaml-modules/httpun/eio.nix @@ -0,0 +1,16 @@ +{ buildDunePackage +, httpun +, gluten-eio +}: + +buildDunePackage { + pname = "httpun-eio"; + + inherit (httpun) src version; + + propagatedBuildInputs = [ gluten-eio httpun ]; + + meta = httpun.meta // { + description = "EIO support for httpun"; + }; +} diff --git a/pkgs/top-level/ocaml-packages.nix b/pkgs/top-level/ocaml-packages.nix index c3c71efa41e0..4f98f1ff6963 100644 --- a/pkgs/top-level/ocaml-packages.nix +++ b/pkgs/top-level/ocaml-packages.nix @@ -693,6 +693,8 @@ let httpun = callPackage ../development/ocaml-modules/httpun { }; + httpun-eio = callPackage ../development/ocaml-modules/httpun/eio.nix { }; + httpun-types = callPackage ../development/ocaml-modules/httpun/types.nix { }; hxd = callPackage ../development/ocaml-modules/hxd { };