8 , gobject-introspection
16 src = fetchFromGitHub {
20 hash = "sha256-SBt9bK2fjxIEANjw+Gs+lHiWplzNMfporj+ZVtt50pw=";
23 vendorHash = "sha256-PPKrtvW0fwzCO+OqJ7S/Kd6WOwN1DqQDhpeQUPCSpUU=";
25 subPackages = [ "cmd/trayscale" ];
30 "-X=deedles.dev/trayscale/internal/version.version=${version}"
33 nativeBuildInputs = [ pkg-config gobject-introspection wrapGAppsHook4 ];
34 buildInputs = [ gtk4 libadwaita ];
36 # there are no actual tests, and it takes 20 minutes to rebuild
40 sh ./dist.sh install $out
41 glib-compile-schemas $out/share/glib-2.0/schemas
45 gappsWrapperArgs+=(--prefix PATH : "${tailscale}/bin")
49 changelog = "https://github.com/DeedleFake/trayscale/releases/tag/${src.rev}";
50 description = "Unofficial GUI wrapper around the Tailscale CLI client";
51 homepage = "https://github.com/DeedleFake/trayscale";
52 license = lib.licenses.mit;
53 maintainers = with lib.maintainers; [ sikmir ];
54 mainProgram = "trayscale";
55 platforms = lib.platforms.linux;