2022-02-04 13:16:47 +01:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2019-11-22 14:07:18 +01:00
|
|
|
|
2022-02-04 13:16:47 +01:00
|
|
|
buildGoModule rec {
|
2019-11-22 14:07:18 +01:00
|
|
|
pname = "nebula";
|
2021-12-31 09:00:15 +01:00
|
|
|
version = "1.5.2";
|
2019-11-22 14:07:18 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "slackhq";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-12-31 09:00:15 +01:00
|
|
|
sha256 = "kxBu+r99sC3XWDX+xTmhdUJx0HMVWA0Xgy7wgfrjZ5E=";
|
2019-11-22 14:07:18 +01:00
|
|
|
};
|
|
|
|
|
2021-12-31 09:00:15 +01:00
|
|
|
vendorSha256 = "5Yv2t5vdUNCcCo2KAm1xCkRVrt6gIasKHLqH7VVPDuU=";
|
2019-11-22 14:07:18 +01:00
|
|
|
|
2020-08-04 02:26:27 +02:00
|
|
|
doCheck = false;
|
|
|
|
|
2019-11-22 14:07:18 +01:00
|
|
|
subPackages = [ "cmd/nebula" "cmd/nebula-cert" ];
|
|
|
|
|
2021-08-26 08:45:51 +02:00
|
|
|
ldflags = [ "-X main.Build=${version}" ];
|
2019-11-22 14:07:18 +01:00
|
|
|
|
2020-03-27 08:33:21 +01:00
|
|
|
meta = with lib; {
|
2019-11-22 14:07:18 +01:00
|
|
|
description = "A scalable overlay networking tool with a focus on performance, simplicity and security";
|
|
|
|
longDescription = ''
|
|
|
|
Nebula is a scalable overlay networking tool with a focus on performance,
|
|
|
|
simplicity and security. It lets you seamlessly connect computers
|
|
|
|
anywhere in the world. Nebula is portable, and runs on Linux, OSX, and
|
|
|
|
Windows. (Also: keep this quiet, but we have an early prototype running
|
|
|
|
on iOS). It can be used to connect a small number of computers, but is
|
|
|
|
also able to connect tens of thousands of computers.
|
|
|
|
|
|
|
|
Nebula incorporates a number of existing concepts like encryption,
|
|
|
|
security groups, certificates, and tunneling, and each of those
|
|
|
|
individual pieces existed before Nebula in various forms. What makes
|
|
|
|
Nebula different to existing offerings is that it brings all of these
|
|
|
|
ideas together, resulting in a sum that is greater than its individual
|
|
|
|
parts.
|
|
|
|
'';
|
|
|
|
homepage = "https://github.com/slackhq/nebula";
|
|
|
|
license = licenses.mit;
|
2021-12-31 09:00:15 +01:00
|
|
|
maintainers = with maintainers; [ Br1ght0ne numinit ];
|
2019-11-22 14:07:18 +01:00
|
|
|
};
|
|
|
|
|
2020-07-31 05:58:04 +02:00
|
|
|
}
|