diff --git a/pkgs/applications/networking/hyprspace/default.nix b/pkgs/applications/networking/hyprspace/default.nix new file mode 100644 index 000000000000..863b05f8edce --- /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; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 262c775beb60..78e5bcdd9666 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -19255,6 +19255,8 @@ in hydron = callPackage ../servers/hydron { }; + hyprspace = callPackage ../applications/networking/hyprspace { inherit (darwin) iproute2mac; }; + icecream = callPackage ../servers/icecream { }; icingaweb2 = callPackage ../servers/icingaweb2 { };