gogup: init at 0.27.3
Signed-off-by: phanirithvij <phanirithvij2000@gmail.com>
This commit is contained in:
parent
a538ba0722
commit
0f7ac94326
34
pkgs/by-name/go/gogup/package.nix
Normal file
34
pkgs/by-name/go/gogup/package.nix
Normal file
@ -0,0 +1,34 @@
|
||||
{
|
||||
lib,
|
||||
buildGoModule,
|
||||
fetchFromGitHub,
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "gogup";
|
||||
version = "0.27.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "nao1215";
|
||||
repo = "gup";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-8DtD22kvGez2iX0VqoZ1zSydcNYnDz3r698nXEwtoZE=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-yqCmo33ihkaPK8iL5cnCIGbOLkdXjuIWLwtgAa+KB8Y=";
|
||||
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";
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user