2022-09-22 12:36:57 +00:00
|
|
|
{ buildDunePackage
|
|
|
|
, happy-eyeballs
|
|
|
|
, cmdliner
|
|
|
|
, dns-client
|
|
|
|
, duration
|
|
|
|
, domain-name
|
|
|
|
, ipaddr
|
|
|
|
, fmt
|
|
|
|
, logs
|
|
|
|
, lwt
|
|
|
|
, mtime
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildDunePackage {
|
|
|
|
pname = "happy-eyeballs-lwt";
|
|
|
|
|
|
|
|
inherit (happy-eyeballs) src version;
|
|
|
|
|
|
|
|
minimalOCamlVersion = "4.08";
|
2023-01-20 10:41:00 +00:00
|
|
|
duneVersion = "3";
|
2022-09-22 12:36:57 +00:00
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
cmdliner
|
|
|
|
duration
|
|
|
|
domain-name
|
|
|
|
ipaddr
|
|
|
|
fmt
|
|
|
|
mtime
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
dns-client
|
|
|
|
happy-eyeballs
|
|
|
|
logs
|
|
|
|
lwt
|
|
|
|
];
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
meta = happy-eyeballs.meta // {
|
|
|
|
mainProgram = "happy_eyeballs_client";
|
|
|
|
description = "Connecting to a remote host via IP version 4 or 6 using Lwt_unix";
|
|
|
|
};
|
|
|
|
}
|