mirror of
https://github.com/nmasur/dotfiles
synced 2025-07-06 02:40:14 +00:00
add gh-collaborators extension
This commit is contained in:
25
overlays/gh-collaborators.nix
Normal file
25
overlays/gh-collaborators.nix
Normal file
@ -0,0 +1,25 @@
|
||||
_final: prev: {
|
||||
|
||||
gh-collaborators = prev.buildGo120Module rec {
|
||||
pname = "gh-collaborators";
|
||||
version = "2.0.2";
|
||||
|
||||
src = prev.fetchFromGitHub {
|
||||
owner = "katiem0";
|
||||
repo = "gh-collaborators";
|
||||
rev = version;
|
||||
sha256 = "sha256-sz5LHkwZ28aA2vbMnFMzAlyGiJBDZm7jwDQYxgKBPLU=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-rsRDOgJBa8T6+bC/APcmuRmg6ykbIp9pwRnJ9rrfHEs=";
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
"-X github.com/katiem0/gh-collaborators/cmd.Version=${version}"
|
||||
# "-X main.Version=${version}"
|
||||
];
|
||||
|
||||
};
|
||||
|
||||
}
|
Reference in New Issue
Block a user