From c466f96ee7d2c797268ee55eec66d11ac3f231e9 Mon Sep 17 00:00:00 2001 From: Alejandro Soto Date: Sat, 14 Mar 2026 01:00:58 -0600 Subject: home/desktop: enable kdeconnectd, xfconnect-indicator --- pkgs/xfconnect-indicator/default.nix | 45 ++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 pkgs/xfconnect-indicator/default.nix (limited to 'pkgs/xfconnect-indicator') diff --git a/pkgs/xfconnect-indicator/default.nix b/pkgs/xfconnect-indicator/default.nix new file mode 100644 index 0000000..f7f4262 --- /dev/null +++ b/pkgs/xfconnect-indicator/default.nix @@ -0,0 +1,45 @@ +{ + fetchFromGitHub, + gobject-introspection, + gtk3, + lib, + libappindicator-gtk3, + python3, + stdenv, + wrapGAppsHook3, +}: +stdenv.mkDerivation { + pname = "xfconnect-indicator"; + version = "0+master"; + + src = fetchFromGitHub { + repo = "xfconnect-indicator"; + owner = "juanramoncastan"; + + rev = "3e7a372042d00cba39684809f846a1c4317980b7"; + hash = "sha256-kLZQ1LTlxgtCbghpRjnCMjegUAJ2mn9NJ3toERKVSZM="; + }; + + buildInputs = [ + gobject-introspection + gtk3 + libappindicator-gtk3 + (python3.withPackages (py: [py.dbus-python py.pygobject3])) + ]; + + nativeBuildInputs = [ + wrapGAppsHook3 + ]; + + buildPhase = '' + mkdir -p $out/bin + cp -r source/share $out + cp source/bin/xfconnect-indicator.py $out/bin/xfconnect-indicator + chmod +x $out/bin/xfconnect-indicator + ''; + + meta = { + license = lib.licenses.gpl3; + mainProgram = "xfconnect-indicator"; + }; +} -- cgit v1.2.3