Files
nixpkgs/pkgs/development/ocaml-modules/happy-eyeballs/default.nix
2026-05-12 13:36:31 -05:00

41 lines
790 B
Nix

{
lib,
buildDunePackage,
fetchurl,
domain-name,
duration,
fmt,
ipaddr,
logs,
}:
buildDunePackage (finalAttrs: {
pname = "happy-eyeballs";
version = "2.0.1";
minimalOCamlVersion = "4.08";
src = fetchurl {
url = "https://github.com/roburio/happy-eyeballs/releases/download/v${finalAttrs.version}/happy-eyeballs-${finalAttrs.version}.tbz";
hash = "sha256-slVFiDApMbqF4Yhh5hCjraeCNJbU1JoZXpU1VsNR0mk=";
};
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;
maintainers = with lib.maintainers; [
vbgl
ulrikstrid
];
};
})