Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
36 lines
847 B
Nix
36 lines
847 B
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
}:
|
|
buildGoModule rec {
|
|
pname = "speedtest-go";
|
|
version = "1.7.10";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "showwin";
|
|
repo = "speedtest-go";
|
|
tag = "v${version}";
|
|
hash = "sha256-w0gIyeoQP+MfA9Q2CD7+laABmSrJ9u836E+UIhJeWdk=";
|
|
};
|
|
|
|
vendorHash = "sha256-2z241HQOckNFvQWkxfjVVmmdFW4XevQBLj8huxYAheg=";
|
|
|
|
excludedPackages = [ "example" ];
|
|
|
|
# test suite requires network
|
|
doCheck = false;
|
|
|
|
meta = {
|
|
description = "CLI and Go API to Test Internet Speed using speedtest.net";
|
|
homepage = "https://github.com/showwin/speedtest-go";
|
|
changelog = "https://github.com/showwin/speedtest-go/releases/tag/v${version}";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [
|
|
aleksana
|
|
luftmensch-luftmensch
|
|
];
|
|
mainProgram = "speedtest-go";
|
|
};
|
|
}
|