openxray: 2188-november-2023-rc1 -> 2921-january-2025-rc1 (#375925)
[NixPkgs.git] / pkgs / by-name / li / librespeed-cli / package.nix
blob627686d58d1b6c57292f1b21ce5edea7fdcaf0b3
2   lib,
3   buildGoModule,
4   fetchFromGitHub,
5 }:
7 buildGoModule rec {
8   pname = "librespeed-cli";
9   version = "1.0.10";
11   src = fetchFromGitHub {
12     owner = "librespeed";
13     repo = "speedtest-cli";
14     rev = "v${version}";
15     sha256 = "sha256-LFGlKYWUaHi/byoRPD6zsdr0U5r0zWxxRa2NJNB2yb8=";
16   };
18   vendorHash = "sha256-psZyyySpY06J+ji+9uHUtX7Ks1hzZC3zINszYP75NfQ=";
20   # Tests have additional requirements
21   doCheck = false;
23   meta = with lib; {
24     description = "Command line client for LibreSpeed";
25     homepage = "https://github.com/librespeed/speedtest-cli";
26     license = with licenses; [ lgpl3Only ];
27     maintainers = with maintainers; [ fab ];
28     mainProgram = "speedtest-cli";
29   };