base16-schemes: unstable-2024-06-21 -> unstable-2024-11-12
[NixPkgs.git] / pkgs / by-name / li / librespeed-cli / package.nix
blob8751d9ab43d4d1394fba3f44cd11ba812bb94952
1 { lib
2 , buildGoModule
3 , fetchFromGitHub
4 }:
6 buildGoModule rec {
7   pname = "librespeed-cli";
8   version = "1.0.10";
10   src = fetchFromGitHub {
11     owner = "librespeed";
12     repo = "speedtest-cli";
13     rev = "v${version}";
14     sha256 = "sha256-LFGlKYWUaHi/byoRPD6zsdr0U5r0zWxxRa2NJNB2yb8=";
15   };
17   vendorHash = "sha256-psZyyySpY06J+ji+9uHUtX7Ks1hzZC3zINszYP75NfQ=";
19   # Tests have additional requirements
20   doCheck = false;
22   meta = with lib; {
23     description = "Command line client for LibreSpeed";
24     homepage = "https://github.com/librespeed/speedtest-cli";
25     license = with licenses; [ lgpl3Only ];
26     maintainers = with maintainers; [ fab ];
27     mainProgram = "speedtest-cli";
28   };