depot/third_party/nixpkgs/pkgs/tools/misc/librespeed-cli/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

29 lines
694 B
Nix

{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "librespeed-cli";
version = "1.0.10";
src = fetchFromGitHub {
owner = "librespeed";
repo = "speedtest-cli";
rev = "v${version}";
sha256 = "sha256-LFGlKYWUaHi/byoRPD6zsdr0U5r0zWxxRa2NJNB2yb8=";
};
vendorHash = "sha256-psZyyySpY06J+ji+9uHUtX7Ks1hzZC3zINszYP75NfQ=";
# Tests have additional 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 ];
mainProgram = "speedtest-cli";
};
}