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:
commit
3e498ed29a
3 changed files with 55 additions and 0 deletions
26
pkgs/development/ocaml-modules/happy-eyeballs/lwt.nix
Normal file
26
pkgs/development/ocaml-modules/happy-eyeballs/lwt.nix
Normal 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";
|
||||
};
|
||||
|
||||
}
|
25
pkgs/development/ocaml-modules/happy-eyeballs/mirage.nix
Normal file
25
pkgs/development/ocaml-modules/happy-eyeballs/mirage.nix
Normal 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";
|
||||
};
|
||||
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue