depot/third_party/nixpkgs/pkgs/development/ocaml-modules/happy-eyeballs/mirage.nix
Default email b41113241d Project import generated by Copybara.
GitOrigin-RevId: ae1dc133ea5f1538d035af41e5ddbc2ebcb67b90
2022-09-22 14:36:57 +02:00

48 lines
672 B
Nix

{ buildDunePackage
, happy-eyeballs
, duration
, dns-client
, domain-name
, ipaddr
, fmt
, logs
, lwt
, mirage-clock
, mirage-random
, mirage-time
, tcpip
}:
buildDunePackage {
pname = "happy-eyeballs-mirage";
inherit (happy-eyeballs) src version;
minimalOCamlVersion = "4.08";
strictDeps = true;
buildInputs = [
duration
ipaddr
domain-name
fmt
mirage-clock
mirage-random
mirage-time
];
propagatedBuildInputs = [
dns-client
happy-eyeballs
logs
lwt
tcpip
];
doCheck = true;
meta = happy-eyeballs.meta // {
description = "Connecting to a remote host via IP version 4 or 6 using Mirage";
};
}