2023-12-17 00:32:44 +00:00
|
|
|
_final: prev: {
|
|
|
|
|
2024-05-05 20:17:06 +00:00
|
|
|
gh-collaborators = prev.buildGoModule rec {
|
2023-12-17 00:32:44 +00:00
|
|
|
pname = "gh-collaborators";
|
2024-05-05 20:17:06 +00:00
|
|
|
version = "v2.0.3";
|
2023-12-17 00:32:44 +00:00
|
|
|
|
|
|
|
src = prev.fetchFromGitHub {
|
2024-05-05 20:17:06 +00:00
|
|
|
owner = "nmasur";
|
2023-12-17 00:32:44 +00:00
|
|
|
repo = "gh-collaborators";
|
|
|
|
rev = version;
|
2024-05-05 20:17:06 +00:00
|
|
|
sha256 = "sha256-XgAZ/+7QxIRKiAZ4Gp/rLgTABSXkVjFQ8TbXOFj9vpM=";
|
2023-12-17 00:32:44 +00:00
|
|
|
};
|
|
|
|
|
2024-05-05 20:17:06 +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}"
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|