diff --git a/pkgs/applications/misc/tailscale-systray/default.nix b/pkgs/applications/misc/tailscale-systray/default.nix new file mode 100644 index 000000000000..85e927f018f1 --- /dev/null +++ b/pkgs/applications/misc/tailscale-systray/default.nix @@ -0,0 +1,32 @@ +{ lib +, buildGoModule +, fetchFromGitHub +, pkg-config +, gtk3 +, libayatana-appindicator +}: +buildGoModule rec { + pname = "tailscale-systray"; + version = "2022-10-19"; + + src = fetchFromGitHub { + owner = "mattn"; + repo = pname; + rev = "e7f8893684e7b8779f34045ca90e5abe6df6056d"; + sha256 = "sha256-3kozp6jq0xGllxoK2lGCNUahy/FvXyq11vNSxfDehKE="; + }; + + vendorHash = "sha256-YJ74SeZAMS+dXyoPhPTJ3L+5uL5bF8gumhMOqfvmlms="; + + nativeBuildInputs = [ pkg-config ]; + buildInputs = [ gtk3 libayatana-appindicator ]; + + proxyVendor = true; + + meta = with lib; { + description = "Tailscale systray"; + homepage = "https://github.com/mattn/tailscale-systray"; + license = licenses.mit; + maintainers = with maintainers; [ qbit ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 8086a44fe793..2fae8c679778 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -25555,6 +25555,8 @@ with pkgs; tailscale = callPackage ../servers/tailscale { }; + tailscale-systray = callPackage ../applications/misc/tailscale-systray { }; + tailspin = callPackage ../tools/misc/tailspin { }; thanos = callPackage ../servers/monitoring/thanos { };