nixpkgs/pkgs/development/ocaml-modules/happy-eyeballs/default.nix
Vincent Laporte e2f0148a20 ocamlPackages.dns: 6.3.0 → 6.4.1
ocamlPackages.happy-eyeballs: 0.3.0 → 0.4.0
2023-01-12 17:56:25 +01:00

33 lines
748 B
Nix

{ lib, buildDunePackage, fetchurl
, domain-name, duration, fmt, ipaddr, logs
}:
buildDunePackage rec {
pname = "happy-eyeballs";
version = "0.4.0";
minimalOCamlVersion = "4.08";
src = fetchurl {
url = "https://github.com/roburio/happy-eyeballs/releases/download/v${version}/happy-eyeballs-${version}.tbz";
hash = "sha256-gR9q4J/DnYJz8oYmk/wy17h4F6wxbllba/gkor5i1nQ=";
};
strictDeps = true;
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 ];
};
}