at 23.05-pre 660 B view raw
1{ lib 2, buildGoModule 3, fetchFromGitHub 4}: 5 6buildGoModule rec { 7 pname = "librespeed-cli"; 8 version = "1.0.10"; 9 10 src = fetchFromGitHub { 11 owner = "librespeed"; 12 repo = "speedtest-cli"; 13 rev = "v${version}"; 14 sha256 = "sha256-LFGlKYWUaHi/byoRPD6zsdr0U5r0zWxxRa2NJNB2yb8="; 15 }; 16 17 vendorSha256 = "sha256-psZyyySpY06J+ji+9uHUtX7Ks1hzZC3zINszYP75NfQ="; 18 19 # Tests have additonal requirements 20 doCheck = false; 21 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 }; 28}