diff --git a/pkgs/development/ocaml-modules/happy-eyeballs/lwt.nix b/pkgs/development/ocaml-modules/happy-eyeballs/lwt.nix new file mode 100644 index 000000000000..63c5a0b61baf --- /dev/null +++ b/pkgs/development/ocaml-modules/happy-eyeballs/lwt.nix @@ -0,0 +1,26 @@ +{ buildDunePackage +, happy-eyeballs +, cmdliner +, dns-client +, logs +, lwt +}: + +buildDunePackage { + pname = "happy-eyeballs-lwt"; + inherit (happy-eyeballs) src version; + + buildInputs = [ cmdliner ]; + + propagatedBuildInputs = [ + dns-client + happy-eyeballs + logs + lwt + ]; + + meta = happy-eyeballs.meta // { + description = "Connecting to a remote host via IP version 4 or 6 using Lwt_unix"; + }; + +} 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 a7c3386d4972..4f2260ab7bb5 100644 --- a/pkgs/top-level/ocaml-packages.nix +++ b/pkgs/top-level/ocaml-packages.nix @@ -520,6 +520,10 @@ let happy-eyeballs = callPackage ../development/ocaml-modules/happy-eyeballs { }; + happy-eyeballs-lwt = callPackage ../development/ocaml-modules/happy-eyeballs/lwt.nix { }; + + happy-eyeballs-mirage = callPackage ../development/ocaml-modules/happy-eyeballs/mirage.nix { }; + hashcons = callPackage ../development/ocaml-modules/hashcons { }; herelib = callPackage ../development/ocaml-modules/herelib { };