2024-08-06 17:19:38 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildGoModule,
|
|
|
|
fetchFromGitHub,
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "gogup";
|
2024-08-10 13:37:55 +00:00
|
|
|
version = "0.27.4";
|
2024-08-06 17:19:38 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "nao1215";
|
|
|
|
repo = "gup";
|
|
|
|
rev = "v${version}";
|
2024-08-10 13:37:55 +00:00
|
|
|
hash = "sha256-vCp513WpB3kWMN0nkohtvpuMN1WBndg1E6pF0Cd5FgE=";
|
2024-08-06 17:19:38 +00:00
|
|
|
};
|
|
|
|
|
2024-08-10 13:37:55 +00:00
|
|
|
vendorHash = "sha256-rtdbPwVZHwofpGccYU8NBiaikzNMIwSDggbRdnGTBu8=";
|
2024-08-06 17:19:38 +00:00
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
ldflags = [
|
|
|
|
"-s"
|
|
|
|
"-X github.com/nao1215/gup/internal/cmdinfo.Version=v${version}"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Update binaries installed by 'go install' with goroutines";
|
|
|
|
changelog = "https://github.com/nao1215/gup/blob/v${version}/CHANGELOG.md";
|
|
|
|
homepage = "https://github.com/nao1215/gup";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ phanirithvij ];
|
|
|
|
mainProgram = "gup";
|
|
|
|
};
|
|
|
|
}
|