From 52f226dd5b2ceb97a70197e309d38fb9abef2ebe Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Thu, 15 Sep 2022 06:34:29 +0200 Subject: [PATCH 1/2] ocamlPackages.happy-eyeballs-mirage: init at 0.1.3 --- .../ocaml-modules/happy-eyeballs/mirage.nix | 25 +++++++++++++++++++ pkgs/top-level/ocaml-packages.nix | 2 ++ 2 files changed, 27 insertions(+) create mode 100644 pkgs/development/ocaml-modules/happy-eyeballs/mirage.nix 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 { }; From bdd40fad13ce61cf8d24d4abf283fb74df66c38a Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Thu, 15 Sep 2022 06:34:34 +0200 Subject: [PATCH 2/2] ocamlPackages.happy-eyeballs-lwt: init at 0.1.3 --- .../ocaml-modules/happy-eyeballs/lwt.nix | 26 +++++++++++++++++++ pkgs/top-level/ocaml-packages.nix | 2 ++ 2 files changed, 28 insertions(+) create mode 100644 pkgs/development/ocaml-modules/happy-eyeballs/lwt.nix 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/top-level/ocaml-packages.nix b/pkgs/top-level/ocaml-packages.nix index 4ff5012eea7e..b5f8a4f23809 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-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 { };