From 5b3b1a5642e1404cb56dc886177928a56dc0c2d4 Mon Sep 17 00:00:00 2001 From: Olivier Nicole Date: Wed, 27 Jul 2022 11:37:21 +0200 Subject: [PATCH] nwg-panel: 0.5.4 -> 0.7.2 --- pkgs/applications/misc/nwg-panel/default.nix | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/misc/nwg-panel/default.nix b/pkgs/applications/misc/nwg-panel/default.nix index 488f5cd997d0..c9765b1e1b44 100644 --- a/pkgs/applications/misc/nwg-panel/default.nix +++ b/pkgs/applications/misc/nwg-panel/default.nix @@ -9,17 +9,18 @@ , light # light , pamixer # pamixer , pulseaudio # pactl +, libdbusmenu-gtk3 # tray }: python3Packages.buildPythonApplication rec { pname = "nwg-panel"; - version = "0.5.7"; + version = "0.7.2"; src = fetchFromGitHub { owner = "nwg-piotr"; repo = "nwg-panel"; rev = "v${version}"; - sha256 = "1d3qh42cwayb5d9ymhfs2vrbg5x5x6x73hw77m3xb9y4vyhji85x"; + sha256 = "sha256-kQow8jBHxMTgtTaOvq8uT5YjWxml+GoYaoUH3hMQN8g="; }; # No tests @@ -31,7 +32,10 @@ python3Packages.buildPythonApplication rec { buildInputs = [ atk gdk-pixbuf gtk-layer-shell pango ]; nativeBuildInputs = [ wrapGAppsHook gobject-introspection ]; - propagatedBuildInputs = with python3Packages; [ i3ipc netifaces psutil pybluez pygobject3 ]; + propagatedBuildInputs = (with python3Packages; + [ i3ipc netifaces psutil pybluez pygobject3 requests dasbus setuptools ]) + # Run-time GTK dependency required by the Tray module + ++ [ libdbusmenu-gtk3 ]; postInstall = '' mkdir -p $out/share/{applications,pixmaps}