about summary refs log tree commit diff
path: root/pkgs/applications/networking/hyprspace
diff options
context:
space:
mode:
authorYusuf Bera Ertan <y.bera003.06@protonmail.com>2021-06-13 07:45:07 +0300
committerRaphael Megzari <raphael@megzari.com>2021-06-13 16:46:05 +0900
commit181d764372eb1735cc7daad95445e5e7064c08c4 (patch)
tree0c358ffa42d70aa1da74950570e07bf4f95531af /pkgs/applications/networking/hyprspace
parent16763ef031f9edc7f9bc5158a8f5e8dc318bce08 (diff)
hyprspace: init at 0.1.2
Diffstat (limited to 'pkgs/applications/networking/hyprspace')
-rw-r--r--pkgs/applications/networking/hyprspace/default.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/applications/networking/hyprspace/default.nix b/pkgs/applications/networking/hyprspace/default.nix
new file mode 100644
index 0000000000000..863b05f8edce5
--- /dev/null
+++ b/pkgs/applications/networking/hyprspace/default.nix
@@ -0,0 +1,25 @@
+{ lib, stdenv, buildGoModule, fetchFromGitHub, iproute2mac }:
+
+buildGoModule rec {
+  pname = "hyprspace";
+  version = "0.1.2";
+
+  propagatedBuildInputs = lib.optional stdenv.isDarwin iproute2mac;
+
+  src = fetchFromGitHub {
+    owner = pname;
+    repo = pname;
+    rev = "v${version}";
+    sha256 = "sha256-YQJaK6i4GWEGSlf/1+hzjVhdN6ZjZC55v8w9KEedNg4=";
+  };
+
+  vendorSha256 = "sha256-ErqK2jDTpqUyvll+epdGKRYCJvyvCa90W1GVbbhF0a4=";
+
+  meta = with lib; {
+    description = "A Lightweight VPN Built on top of Libp2p for Truly Distributed Networks.";
+    homepage = "https://github.com/hyprspace/hyprspace";
+    license = licenses.asl20;
+    maintainers = with maintainers; [ yusdacra ];
+    platforms = platforms.linux ++ platforms.darwin;
+  };
+}