3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/misc/librespeed-cli/default.nix

29 lines
659 B
Nix
Raw Normal View History

2021-03-19 22:40:37 +00:00
{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "librespeed-cli";
2021-05-12 07:39:14 +01:00
version = "1.0.9";
2021-03-19 22:40:37 +00:00
src = fetchFromGitHub {
owner = "librespeed";
repo = "speedtest-cli";
rev = "v${version}";
2021-05-12 07:39:14 +01:00
sha256 = "sha256-rtZZgx5QNwYd6vXSts/ICSiXv7sMZA8ihHgxTjZ/6KQ=";
2021-03-19 22:40:37 +00:00
};
2021-04-30 21:45:14 +01:00
vendorSha256 = "sha256-psZyyySpY06J+ji+9uHUtX7Ks1hzZC3zINszYP75NfQ=";
2021-03-19 22:40:37 +00:00
# Tests have additonal requirements
doCheck = false;
meta = with lib; {
description = "Command line client for LibreSpeed";
homepage = "https://github.com/librespeed/speedtest-cli";
license = with licenses; [ lgpl3Only ];
maintainers = with maintainers; [ fab ];
};
}