nixpkgs-suyu/pkgs/tools/misc/librespeed-cli/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
659 B
Nix
Raw Normal View History

2021-03-19 23:40:37 +01:00
{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "librespeed-cli";
2021-05-12 08:39:14 +02:00
version = "1.0.9";
2021-03-19 23:40:37 +01:00
src = fetchFromGitHub {
owner = "librespeed";
repo = "speedtest-cli";
rev = "v${version}";
2021-05-12 08:39:14 +02:00
sha256 = "sha256-rtZZgx5QNwYd6vXSts/ICSiXv7sMZA8ihHgxTjZ/6KQ=";
2021-03-19 23:40:37 +01:00
};
2021-04-30 22:45:14 +02:00
vendorSha256 = "sha256-psZyyySpY06J+ji+9uHUtX7Ks1hzZC3zINszYP75NfQ=";
2021-03-19 23:40:37 +01: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 ];
};
}