2022-10-07 13:25:47 +00:00
|
|
|
{
|
|
|
|
|
|
|
|
buildGoModule,
|
|
|
|
fetchFromGitHub,
|
|
|
|
|
|
|
|
}: buildGoModule rec {
|
|
|
|
|
|
|
|
pname = "nebula";
|
|
|
|
|
|
|
|
# If this changes, remember to change:
|
2024-09-24 09:22:00 +00:00
|
|
|
# - the go/daemon/daecommon/daemon.yml vpn.firewall docs
|
2022-10-07 13:25:47 +00:00
|
|
|
# - 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
|
|
|
|
|
|
|
subPackages = [ "cmd/nebula" "cmd/nebula-cert" ];
|
2022-10-07 13:46:29 +00:00
|
|
|
|
|
|
|
ldflags = [ "-X main.Build=${version}" ];
|
2022-10-07 13:25:47 +00:00
|
|
|
}
|