summary refs log tree commit diff
diff options
context:
space:
mode:
authorOleksii Filonenko <brightone@protonmail.com>2019-11-22 15:07:18 +0200
committerOleksii Filonenko <brightone@protonmail.com>2019-11-22 15:07:18 +0200
commit0de99691d42f9890dced7aa757356096dceca637 (patch)
treed56984d5efc5d2d453a900874261a177bac46ec3
parent6b2504f9f20e79711e835ef412173ee2be542dc2 (diff)
downloadnixpkgs-0de99691d42f9890dced7aa757356096dceca637.tar
nixpkgs-0de99691d42f9890dced7aa757356096dceca637.tar.gz
nixpkgs-0de99691d42f9890dced7aa757356096dceca637.tar.bz2
nixpkgs-0de99691d42f9890dced7aa757356096dceca637.tar.lz
nixpkgs-0de99691d42f9890dced7aa757356096dceca637.tar.xz
nixpkgs-0de99691d42f9890dced7aa757356096dceca637.tar.zst
nixpkgs-0de99691d42f9890dced7aa757356096dceca637.zip
nebula: init at 1.0.0
-rw-r--r--pkgs/tools/networking/nebula/default.nix43
-rw-r--r--pkgs/top-level/all-packages.nix4
2 files changed, 46 insertions, 1 deletions
diff --git a/pkgs/tools/networking/nebula/default.nix b/pkgs/tools/networking/nebula/default.nix
new file mode 100644
index 00000000000..7f9d194e44a
--- /dev/null
+++ b/pkgs/tools/networking/nebula/default.nix
@@ -0,0 +1,43 @@
+{ lib, buildGoModule, fetchFromGitHub }:
+
+buildGoModule rec {
+  pname = "nebula";
+  version = "1.0.0";
+
+  src = fetchFromGitHub {
+    owner = "slackhq";
+    repo = pname;
+    rev = "v${version}";
+    sha256 = "0j7fna352z8kzx6n0hck7rp122c0v44j9syz0v30vq47xq2pwj5c";
+  };
+
+  modSha256 = "130h0gc5z0w5inpc99y6mismwg3nyzk3bqdq5v9yclkxlhkbcp6d";
+
+  subPackages = [ "cmd/nebula" "cmd/nebula-cert" ];
+
+  buildFlagsArray = [ "-ldflags='-X main.Build=${version}'" ];
+
+  meta = with lib; {
+    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;
+    maintainers = with maintainers; [ filalex77 ];
+    platforms = platforms.all;
+  };
+
+}
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index fa353be07e8..64cda45d406 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -5085,6 +5085,8 @@ in
 
   ndppd = callPackage ../applications/networking/ndppd { };
 
+  nebula = callPackage ../tools/networking/nebula { };
+
   nemiver = callPackage ../development/tools/nemiver { };
 
   neofetch = callPackage ../tools/misc/neofetch { };
@@ -7461,7 +7463,7 @@ in
   zsh-navigation-tools = callPackage ../tools/misc/zsh-navigation-tools { };
 
   zsh-syntax-highlighting = callPackage ../shells/zsh/zsh-syntax-highlighting { };
-  
+
   zsh-fast-syntax-highlighting = callPackage ../shells/zsh/zsh-fast-syntax-highlighting { };
 
   zsh-autosuggestions = callPackage ../shells/zsh/zsh-autosuggestions { };