2022-10-07 13:25:47 +00:00
|
|
|
{
|
|
|
|
|
|
|
|
buildGoModule,
|
|
|
|
fetchFromGitHub,
|
|
|
|
|
|
|
|
}: buildGoModule rec {
|
|
|
|
|
|
|
|
pname = "nebula";
|
|
|
|
|
|
|
|
# If this changes, remember to change:
|
|
|
|
# - the version imported in go-workspace
|
2022-10-07 13:46:29 +00:00
|
|
|
version = "1.6.1";
|
2022-10-07 13:25:47 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "slackhq";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2022-10-07 13:46:29 +00:00
|
|
|
sha256 = "sha256-IsLSlQsrfw3obkz4jHL23BRQY2fviGbPEvs5j0zkdX0=";
|
2022-10-07 13:25:47 +00:00
|
|
|
};
|
|
|
|
|
2024-06-10 14:01:27 +00:00
|
|
|
vendorHash = "sha256-GvMiOEC3Y/pGG++Z+XCgLVADKymUR9shDxjx3xIz8u0=";
|
2022-10-07 13:25:47 +00:00
|
|
|
|
2024-12-19 16:49:10 +00:00
|
|
|
subPackages = [ "cmd/nebula" ];
|
2022-10-07 13:46:29 +00:00
|
|
|
|
|
|
|
ldflags = [ "-X main.Build=${version}" ];
|
2022-10-07 13:25:47 +00:00
|
|
|
}
|