Merge pull request #191271 from vbgl/ocaml-happy-eyeballs-mirage

ocamlPackages.happy-eyeballs-{mirage,lwt}: init at 0.1.3
This commit is contained in:
superherointj 2022-09-19 09:55:56 -03:00 committed by GitHub
commit 3e498ed29a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 55 additions and 0 deletions

View file

@ -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";
};
}

View file

@ -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";
};
}

View file

@ -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 { };