mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-15 17:34:04 +00:00
4f0dadbf38
After final improvements to the official formatter implementation, this commit now performs the first treewide reformat of Nix files using it. This is part of the implementation of RFC 166. Only "inactive" files are reformatted, meaning only files that aren't being touched by any PR with activity in the past 2 months. This is to avoid conflicts for PRs that might soon be merged. Later we can do a full treewide reformat to get the rest, which should not cause as many conflicts. A CI check has already been running for some time to ensure that new and already-formatted files are formatted, so the files being reformatted here should also stay formatted. This commit was automatically created and can be verified using nix-builda08b3a4d19
.tar.gz \ --argstr baseRevb32a094368
result/bin/apply-formatting $NIXPKGS_PATH
58 lines
1.7 KiB
Nix
58 lines
1.7 KiB
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
nixosTests,
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "nebula";
|
|
version = "1.9.5";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "slackhq";
|
|
repo = pname;
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-IJMmVKdgYCXCaRndlcoozFBr+RsUhzC1Eqo427K1k+o=";
|
|
};
|
|
|
|
vendorHash = "sha256-oXhq+s5gDKPVClZpOzYi7BaYwcDqbCLBEO5BNGy9LJA=";
|
|
|
|
subPackages = [
|
|
"cmd/nebula"
|
|
"cmd/nebula-cert"
|
|
];
|
|
|
|
ldflags = [ "-X main.Build=${version}" ];
|
|
|
|
passthru.tests = {
|
|
inherit (nixosTests) nebula;
|
|
};
|
|
|
|
meta = with lib; {
|
|
description = "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";
|
|
changelog = "https://github.com/slackhq/nebula/blob/v${version}/CHANGELOG.md";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [
|
|
Br1ght0ne
|
|
numinit
|
|
];
|
|
};
|
|
}
|