diff --git a/pkgs/development/ocaml-modules/happy-eyeballs/miou-unix.nix b/pkgs/development/ocaml-modules/happy-eyeballs/miou-unix.nix new file mode 100644 index 000000000000..de396a05174e --- /dev/null +++ b/pkgs/development/ocaml-modules/happy-eyeballs/miou-unix.nix @@ -0,0 +1,38 @@ +{ + buildDunePackage, + happy-eyeballs, + cmdliner, + duration, + domain-name, + fmt, + ipaddr, + logs, + miou, + mtime, +}: + +buildDunePackage { + pname = "happy-eyeballs-miou-unix"; + inherit (happy-eyeballs) src version; + + buildInputs = [ + cmdliner + duration + domain-name + fmt + ipaddr + mtime + ]; + + propagatedBuildInputs = [ + happy-eyeballs + logs + miou + ]; + + doCheck = true; + + meta = happy-eyeballs.meta // { + description = "Connecting to a remote host via IP version 4 or 6 using Miou"; + }; +} diff --git a/pkgs/top-level/ocaml-packages.nix b/pkgs/top-level/ocaml-packages.nix index 72e6b416bb44..bd48025f6d96 100644 --- a/pkgs/top-level/ocaml-packages.nix +++ b/pkgs/top-level/ocaml-packages.nix @@ -786,6 +786,10 @@ let happy-eyeballs-lwt = callPackage ../development/ocaml-modules/happy-eyeballs/lwt.nix { }; + happy-eyeballs-miou-unix = + callPackage ../development/ocaml-modules/happy-eyeballs/miou-unix.nix + { }; + happy-eyeballs-mirage = callPackage ../development/ocaml-modules/happy-eyeballs/mirage.nix { }; hashcons = callPackage ../development/ocaml-modules/hashcons { };