mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 07:34:11 +00:00
92d2950194
Co-authored-by: Vincent Laporte <vbgl@users.noreply.github.com>
45 lines
649 B
Nix
45 lines
649 B
Nix
{ buildDunePackage
|
|
, happy-eyeballs
|
|
, cmdliner
|
|
, dns-client-lwt
|
|
, duration
|
|
, domain-name
|
|
, ipaddr
|
|
, fmt
|
|
, logs
|
|
, lwt
|
|
, mtime
|
|
}:
|
|
|
|
buildDunePackage {
|
|
pname = "happy-eyeballs-lwt";
|
|
|
|
inherit (happy-eyeballs) src version;
|
|
|
|
minimalOCamlVersion = "4.08";
|
|
duneVersion = "3";
|
|
|
|
buildInputs = [
|
|
cmdliner
|
|
duration
|
|
domain-name
|
|
ipaddr
|
|
fmt
|
|
mtime
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
dns-client-lwt
|
|
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";
|
|
};
|
|
}
|