diff --git a/pkgs/development/ocaml-modules/happy-eyeballs/mirage.nix b/pkgs/development/ocaml-modules/happy-eyeballs/mirage.nix new file mode 100644 index 000000000000..a47f7afa00c7 --- /dev/null +++ b/pkgs/development/ocaml-modules/happy-eyeballs/mirage.nix @@ -0,0 +1,25 @@ +{ buildDunePackage +, happy-eyeballs +, dns-client +, logs +, lwt +, tcpip +}: + +buildDunePackage { + pname = "happy-eyeballs-mirage"; + inherit (happy-eyeballs) src version; + + propagatedBuildInputs = [ + dns-client + happy-eyeballs + logs + lwt + tcpip + ]; + + meta = happy-eyeballs.meta // { + description = "Connecting to a remote host via IP version 4 or 6 using Mirage"; + }; + +} diff --git a/pkgs/top-level/ocaml-packages.nix b/pkgs/top-level/ocaml-packages.nix index a8b5742aaeb7..4ff5012eea7e 100644 --- a/pkgs/top-level/ocaml-packages.nix +++ b/pkgs/top-level/ocaml-packages.nix @@ -517,6 +517,8 @@ let happy-eyeballs = callPackage ../development/ocaml-modules/happy-eyeballs { }; + happy-eyeballs-mirage = callPackage ../development/ocaml-modules/happy-eyeballs/mirage.nix { }; + hashcons = callPackage ../development/ocaml-modules/hashcons { }; herelib = callPackage ../development/ocaml-modules/herelib { };