mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 12:23:02 +00:00
Merge pull request #221073 from Aleksanaa/speedtest-go
speedtest-go: init at 1.5.2
This commit is contained in:
commit
4f62103d0d
32
pkgs/tools/networking/speedtest-go/default.nix
Normal file
32
pkgs/tools/networking/speedtest-go/default.nix
Normal file
@ -0,0 +1,32 @@
|
||||
{ lib
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "speedtest-go";
|
||||
version = "1.5.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "showwin";
|
||||
repo = pname;
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-9jLreb3tEw5bCVka6/BzGbsd5V3+9OHNzENe/IxL1YM=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-A54G3fvs1bXSwPHVUNFC9VJqydqYR5t4I2fIBvrVoRE=";
|
||||
|
||||
subPackages = [ "speedtest.go" ];
|
||||
|
||||
# test suite requires network
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
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 = licenses.mit;
|
||||
maintainers = with maintainers; [ aleksana ];
|
||||
mainProgram = "speedtest";
|
||||
};
|
||||
}
|
@ -1595,6 +1595,8 @@ with pkgs;
|
||||
|
||||
spectre-cli = callPackage ../tools/security/spectre-cli { };
|
||||
|
||||
speedtest-go = callPackage ../tools/networking/speedtest-go { };
|
||||
|
||||
speedtest-rs = callPackage ../tools/networking/speedtest-rs { };
|
||||
|
||||
steamtinkerlaunch = callPackage ../tools/games/steamtinkerlaunch { };
|
||||
|
Loading…
Reference in New Issue
Block a user