mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-13 17:23:08 +00:00
35 lines
808 B
Nix
35 lines
808 B
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "gogup";
|
|
version = "0.27.4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "nao1215";
|
|
repo = "gup";
|
|
rev = "v${version}";
|
|
hash = "sha256-vCp513WpB3kWMN0nkohtvpuMN1WBndg1E6pF0Cd5FgE=";
|
|
};
|
|
|
|
vendorHash = "sha256-rtdbPwVZHwofpGccYU8NBiaikzNMIwSDggbRdnGTBu8=";
|
|
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";
|
|
};
|
|
}
|