Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
35 lines
806 B
Nix
35 lines
806 B
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "gogup";
|
|
version = "0.27.9";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "nao1215";
|
|
repo = "gup";
|
|
rev = "v${version}";
|
|
hash = "sha256-8pBJcTv3f5ovbtuXuGVmF8m/6CQd19zpoJDs7PtsGcs=";
|
|
};
|
|
|
|
vendorHash = "sha256-sLf0Yhc495rOi0/Ww2/1BD5WXGTFyf6SzfTV9TtGzZk=";
|
|
doCheck = false;
|
|
|
|
ldflags = [
|
|
"-s"
|
|
"-X github.com/nao1215/gup/internal/cmdinfo.Version=v${version}"
|
|
];
|
|
|
|
meta = {
|
|
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 = lib.licenses.asl20;
|
|
maintainers = with lib.maintainers; [ phanirithvij ];
|
|
mainProgram = "gup";
|
|
};
|
|
}
|