-
-
Notifications
You must be signed in to change notification settings - Fork 15k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
67 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22571,6 +22571,12 @@ | |
githubId = 98333944; | ||
name = "Sven Over"; | ||
}; | ||
Svenum = { | ||
email = "[email protected]"; | ||
github = "Svenum"; | ||
githubId = 43136984; | ||
name = "Sven Ziegler"; | ||
}; | ||
svrana = { | ||
email = "[email protected]"; | ||
github = "svrana"; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
diff --git a/tail-tray.desktop.in b/tail-tray.desktop.in | ||
index 2d1c7be..5e859ae 100644 | ||
--- a/tail-tray.desktop.in | ||
+++ b/tail-tray.desktop.in | ||
@@ -2,8 +2,8 @@ | ||
Name=Tail Tray | ||
GenericName=Tail Tray | ||
Comment=Tailscale Tray Application | ||
-Exec=@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_BINDIR@/tail-tray | ||
-Icon=@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_DATAROOTDIR@/icons/hicolor/128x128/apps/tailscale.png | ||
+Exec=@CMAKE_INSTALL_PREFIX@/bin/tail-tray | ||
+Icon=@CMAKE_INSTALL_PREFIX@/share/icons/hicolor/128x128/apps/tailscale.png | ||
Type=Application | ||
Categories=Qt;KDE;Utility;X-Networking;X-Internet;X-VPN; | ||
StartupNotify=true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
{ | ||
lib, | ||
fetchFromGitHub, | ||
davfs2, | ||
cmake, | ||
stdenv, | ||
fetchpatch, | ||
pkg-config, | ||
kdePackages, | ||
}: | ||
|
||
stdenv.mkDerivation rec { | ||
pname = "tail-tray"; | ||
version = "0.2.13"; | ||
|
||
src = fetchFromGitHub { | ||
owner = "SneWs"; | ||
repo = "tail-tray"; | ||
tag = "v${version}"; | ||
sha256 = "sha256-BzE32XvDEdlS5D8XjZ4m2OEn+6nS0F7oJYX/a/UKhJ4="; | ||
}; | ||
|
||
nativeBuildInputs = with kdePackages; [ | ||
wrapQtAppsHook | ||
qttools | ||
cmake | ||
pkg-config | ||
]; | ||
|
||
buildInputs = with kdePackages; [ | ||
qtbase | ||
davfs2 | ||
]; | ||
|
||
patches = [ ./desktop.patch ]; | ||
|
||
meta = { | ||
description = "Tray icon to manage Tailscale"; | ||
homepage = "https://github.com/SneWs/tail-tray"; | ||
changelog = "https://github.com/SneWs/tail-tray/releases/tag/${version}"; | ||
license = lib.licenses.gpl3Only; | ||
maintainers = with lib.maintainers; [ Svenum ]; | ||
platforms = lib.platforms.linux; | ||
}; | ||
} |