ookla-speedtest: support darwin

This commit is contained in:
cherryblossom 2022-05-28 20:34:26 +10:00 committed by Bjørn Forsman
parent 949e1e5277
commit f0cad4fafc

View file

@ -4,7 +4,7 @@ let
pname = "ookla-speedtest";
version = "1.1.1";
srcs = {
srcs = rec {
x86_64-linux = fetchurl {
url = "https://install.speedtest.net/app/cli/${pname}-${version}-linux-x86_64.tgz";
sha256 = "sha256-lwR3/f7k10HnXwiPr2SPm1HHvgQxP7iP+13gfrGjBAw=";
@ -13,6 +13,11 @@ let
url = "https://install.speedtest.net/app/cli/${pname}-${version}-linux-aarch64.tgz";
sha256 = "sha256-J2pAhz/hw8okohWAwvxkqpLtNY/8bbYHGhPQOo1DH9k=";
};
x86_64-darwin = fetchurl {
url = "https://install.speedtest.net/app/cli/${pname}-${version}.84-macosx-x86_64.tgz";
sha256 = "sha256-FT925OUCortHDH98O0uK+qUOuYuxHoYhb8sai5JnbpQ=";
};
aarch64-darwin = x86_64-darwin;
};
in