dotfiles/overlays/gh-collaborators.nix

25 lines
615 B
Nix
Raw Normal View History

2023-12-17 00:32:44 +00:00
_final: prev: {
gh-collaborators = prev.buildGoModule rec {
2023-12-17 00:32:44 +00:00
pname = "gh-collaborators";
version = "v2.0.3";
2023-12-17 00:32:44 +00:00
src = prev.fetchFromGitHub {
owner = "nmasur";
2023-12-17 00:32:44 +00:00
repo = "gh-collaborators";
rev = version;
sha256 = "sha256-XgAZ/+7QxIRKiAZ4Gp/rLgTABSXkVjFQ8TbXOFj9vpM=";
2023-12-17 00:32:44 +00:00
};
# vendorHash = "sha256-rsRDOgJBa8T6+bC/APcmuRmg6ykbIp9pwRnJ9rrfHEs=";
vendorHash = "sha256-fykxRb2U9DDsXorRTLiVWmhMY89N7RS07sal8ww6gz4=";
2023-12-17 00:32:44 +00:00
ldflags = [
"-s"
"-w"
"-X github.com/katiem0/gh-collaborators/cmd.Version=${version}"
# "-X main.Version=${version}"
];
};
}