2025-02-22 17:39:12 -05:00
|
|
|
{ buildGoModule, fetchFromGitHub }:
|
2025-02-08 20:14:54 -05:00
|
|
|
|
2025-02-22 17:39:12 -05:00
|
|
|
buildGoModule rec {
|
2025-02-08 20:14:54 -05:00
|
|
|
pname = "gh-collaborators";
|
|
|
|
version = "v3.0.0";
|
2025-02-22 17:39:12 -05:00
|
|
|
src = fetchFromGitHub {
|
2025-02-08 20:14:54 -05:00
|
|
|
owner = "katiem0";
|
|
|
|
repo = "gh-collaborators";
|
2025-02-22 17:39:12 -05:00
|
|
|
rev = "bf412dde50605e48af86f291c2ac8714f2c1b228";
|
|
|
|
sha256 = "sha256-SGmP/8Fvf2rcYkwscMOFG01Y0VJGb/TXrNZtLacurxA=";
|
2025-02-08 20:14:54 -05:00
|
|
|
};
|
|
|
|
|
|
|
|
vendorHash = "sha256-9qmvG2q9t1Zj8yhKFyA99IaJ90R/gRVdQVjdliVKLRE";
|
|
|
|
|
|
|
|
ldflags = [
|
|
|
|
"-s"
|
|
|
|
"-w"
|
|
|
|
"-X github.com/katiem0/gh-collaborators/cmd.Version=${version}"
|
|
|
|
# "-X main.Version=${version}"
|
|
|
|
];
|
|
|
|
}
|