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