Skip to content

Commit

Permalink
tail-traiy: init at v0.2.9
Browse files Browse the repository at this point in the history
  • Loading branch information
Svenum committed Feb 7, 2025
1 parent 92e81d7 commit a77bb05
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions pkgs/by-name/ta/tail-tray/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{
lib,
fetchFromGitHub,
davfs2,
cmake,
stdenv,
pkg-config,
kdePackages,
}:

stdenv.mkDerivation rec {
name = "tail-tray";
version = "v0.2.9";

src = fetchFromGitHub {
owner = "SneWs";
repo = "tail-tray";
rev = version;
sha256 = "sha256-jNnYJE7AbtTaXQoB165cKIqtx+t78GJOCt/HqVe9x+M=";
};

nativeBuildInputs = with kdePackages; [
cmake
pkg-config
qtbase
wrapQtAppsHook
qttools
];

extraBuildInputs = [
davfs2
];

fixupPhase = ''
substituteInPlace $out/share/applications/tail-tray.desktop --replace '/usr/local' $out
'';

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;
};
}

0 comments on commit a77bb05

Please sign in to comment.