2022-07-14 12:49:19 +00:00
|
|
|
{ lib, buildDunePackage, fetchurl
|
|
|
|
, domain-name, duration, fmt, ipaddr, logs
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "happy-eyeballs";
|
2023-03-15 16:39:30 +00:00
|
|
|
version = "0.5.0";
|
2022-07-14 12:49:19 +00:00
|
|
|
|
|
|
|
minimalOCamlVersion = "4.08";
|
2023-03-15 16:39:30 +00:00
|
|
|
duneVersion = "3";
|
2022-07-14 12:49:19 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/roburio/happy-eyeballs/releases/download/v${version}/happy-eyeballs-${version}.tbz";
|
2023-03-15 16:39:30 +00:00
|
|
|
hash = "sha256-T4BOFlSj3xfUFhP9v8UaCHgmhvGrMyeqNUQf79bdBh4=";
|
2022-07-14 12:49:19 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
domain-name
|
|
|
|
duration
|
|
|
|
fmt
|
|
|
|
ipaddr
|
|
|
|
logs
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Connecting to a remote host via IP version 4 or 6";
|
|
|
|
homepage = "https://github.com/roburio/happy-eyeballs";
|
|
|
|
license = lib.licenses.isc;
|
2022-09-22 12:36:57 +00:00
|
|
|
maintainers = with lib.maintainers; [ vbgl ulrikstrid ];
|
2022-07-14 12:49:19 +00:00
|
|
|
};
|
|
|
|
}
|