2022-06-30 07:29:07 +02:00
|
|
|
{ lib, buildDunePackage, fetchurl
|
|
|
|
, domain-name, duration, fmt, ipaddr, logs
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "happy-eyeballs";
|
2023-03-02 10:31:29 +01:00
|
|
|
version = "0.5.0";
|
2022-06-30 07:29:07 +02:00
|
|
|
|
|
|
|
minimalOCamlVersion = "4.08";
|
2023-03-10 20:51:14 +01:00
|
|
|
duneVersion = "3";
|
2022-06-30 07:29:07 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/roburio/happy-eyeballs/releases/download/v${version}/happy-eyeballs-${version}.tbz";
|
2023-03-02 10:31:29 +01:00
|
|
|
hash = "sha256-T4BOFlSj3xfUFhP9v8UaCHgmhvGrMyeqNUQf79bdBh4=";
|
2022-06-30 07:29:07 +02: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-05-31 21:34:09 +02:00
|
|
|
maintainers = with lib.maintainers; [ vbgl ulrikstrid ];
|
2022-06-30 07:29:07 +02:00
|
|
|
};
|
|
|
|
}
|