diff --git a/pkgs/tools/networking/tunwg/default.nix b/pkgs/tools/networking/tunwg/default.nix new file mode 100644 index 000000000000..25cf5a0a9be6 --- /dev/null +++ b/pkgs/tools/networking/tunwg/default.nix @@ -0,0 +1,27 @@ +{ lib +, buildGoModule +, fetchFromGitHub +}: + +buildGoModule rec { + pname = "tunwg"; + version = "23.06.14+dbfe3aa"; + + src = fetchFromGitHub { + owner = "ntnj"; + repo = "tunwg"; + rev = "v${version}"; + hash = "sha256-w7rx2Q0VXQBETmHROcVWzh0TIEjiITpI5CR9jvtXF7E="; + }; + + vendorHash = "sha256-3vDcCOrhYTHvr8ck0WxZPRUQNsKtEVyUKTD5Epbno6I="; + + ldflags = [ "-s" "-w" ]; + + meta = with lib; { + description = "Secure private tunnel to your local servers"; + homepage = "https://github.com/ntnj/tunwg"; + license = licenses.mit; + maintainers = with maintainers; [ dit7ya ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 88b4dc59f299..317b4841ba9e 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -13571,6 +13571,8 @@ with pkgs; tuntox = callPackage ../tools/networking/tuntox { }; + tunwg = callPackage ../tools/networking/tunwg { }; + omapd = callPackage ../tools/security/omapd { }; ttf2pt1 = callPackage ../tools/misc/ttf2pt1 { };