mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-25 17:55:21 +00:00
[Backport release-25.05] librespeed-cli: refactor and mark as broken on darwin (#408956)
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
buildGoModule,
|
||||
fetchFromGitHub,
|
||||
}:
|
||||
@@ -11,8 +12,8 @@ buildGoModule rec {
|
||||
src = fetchFromGitHub {
|
||||
owner = "librespeed";
|
||||
repo = "speedtest-cli";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-LFGlKYWUaHi/byoRPD6zsdr0U5r0zWxxRa2NJNB2yb8=";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-LFGlKYWUaHi/byoRPD6zsdr0U5r0zWxxRa2NJNB2yb8=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-psZyyySpY06J+ji+9uHUtX7Ks1hzZC3zINszYP75NfQ=";
|
||||
@@ -23,8 +24,10 @@ buildGoModule rec {
|
||||
meta = with lib; {
|
||||
description = "Command line client for LibreSpeed";
|
||||
homepage = "https://github.com/librespeed/speedtest-cli";
|
||||
license = with licenses; [ lgpl3Only ];
|
||||
changelog = "https://github.com/librespeed/speedtest-cli/releases/tag/${src.tag}";
|
||||
license = licenses.lgpl3Only;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
mainProgram = "speedtest-cli";
|
||||
broken = stdenv.hostPlatform.isDarwin;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user