mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-09 16:22:56 +00:00
25 lines
615 B
Nix
25 lines
615 B
Nix
_final: prev: {
|
|
|
|
gh-collaborators = prev.buildGoModule rec {
|
|
pname = "gh-collaborators";
|
|
version = "v2.0.3";
|
|
|
|
src = prev.fetchFromGitHub {
|
|
owner = "nmasur";
|
|
repo = "gh-collaborators";
|
|
rev = version;
|
|
sha256 = "sha256-XgAZ/+7QxIRKiAZ4Gp/rLgTABSXkVjFQ8TbXOFj9vpM=";
|
|
};
|
|
|
|
# vendorHash = "sha256-rsRDOgJBa8T6+bC/APcmuRmg6ykbIp9pwRnJ9rrfHEs=";
|
|
vendorHash = "sha256-fykxRb2U9DDsXorRTLiVWmhMY89N7RS07sal8ww6gz4=";
|
|
|
|
ldflags = [
|
|
"-s"
|
|
"-w"
|
|
"-X github.com/katiem0/gh-collaborators/cmd.Version=${version}"
|
|
# "-X main.Version=${version}"
|
|
];
|
|
};
|
|
}
|