nwg-panel: 0.5.4 -> 0.7.2

This commit is contained in:
Olivier Nicole 2022-07-27 11:37:21 +02:00
parent f26b767ef0
commit 5b3b1a5642

View File

@ -9,17 +9,18 @@
, light # light , light # light
, pamixer # pamixer , pamixer # pamixer
, pulseaudio # pactl , pulseaudio # pactl
, libdbusmenu-gtk3 # tray
}: }:
python3Packages.buildPythonApplication rec { python3Packages.buildPythonApplication rec {
pname = "nwg-panel"; pname = "nwg-panel";
version = "0.5.7"; version = "0.7.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "nwg-piotr"; owner = "nwg-piotr";
repo = "nwg-panel"; repo = "nwg-panel";
rev = "v${version}"; rev = "v${version}";
sha256 = "1d3qh42cwayb5d9ymhfs2vrbg5x5x6x73hw77m3xb9y4vyhji85x"; sha256 = "sha256-kQow8jBHxMTgtTaOvq8uT5YjWxml+GoYaoUH3hMQN8g=";
}; };
# No tests # No tests
@ -31,7 +32,10 @@ python3Packages.buildPythonApplication rec {
buildInputs = [ atk gdk-pixbuf gtk-layer-shell pango ]; buildInputs = [ atk gdk-pixbuf gtk-layer-shell pango ];
nativeBuildInputs = [ wrapGAppsHook gobject-introspection ]; 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 = '' postInstall = ''
mkdir -p $out/share/{applications,pixmaps} mkdir -p $out/share/{applications,pixmaps}