From d6a9856b3bae7a77c2db59d6bd2ef36ee908652f Mon Sep 17 00:00:00 2001 From: Bobby Rong Date: Wed, 30 Aug 2023 21:46:27 +0800 Subject: [PATCH] xfce.xfce4-whiskermenu-plugin: 2.7.3 -> 2.8.0 https://gitlab.xfce.org/panel-plugins/xfce4-whiskermenu-plugin/-/compare/v2.7.3...v2.8.0 Replaced popup script with executable: https://gitlab.xfce.org/panel-plugins/xfce4-whiskermenu-plugin/-/commit/5ea01727ea6d2b4d3af8eee93a0f0ac7a448f546 --- .../xfce4-whiskermenu-plugin/default.nix | 48 +++++++++++++------ 1 file changed, 33 insertions(+), 15 deletions(-) diff --git a/pkgs/desktops/xfce/panel-plugins/xfce4-whiskermenu-plugin/default.nix b/pkgs/desktops/xfce/panel-plugins/xfce4-whiskermenu-plugin/default.nix index 3c838df5930..1c0cd3f1474 100644 --- a/pkgs/desktops/xfce/panel-plugins/xfce4-whiskermenu-plugin/default.nix +++ b/pkgs/desktops/xfce/panel-plugins/xfce4-whiskermenu-plugin/default.nix @@ -1,26 +1,44 @@ -{ lib, mkXfceDerivation, gettext, gtk3, glib, cmake, exo, garcon, libxfce4ui, libxfce4util, xfce4-panel, xfconf }: +{ mkXfceDerivation +, lib +, cmake +, accountsservice +, exo +, garcon +, gettext +, glib +, gtk-layer-shell +, gtk3 +, libxfce4ui +, libxfce4util +, xfce4-panel +, xfconf +}: mkXfceDerivation { category = "panel-plugins"; pname = "xfce4-whiskermenu-plugin"; - version = "2.7.3"; + version = "2.8.0"; rev-prefix = "v"; odd-unstable = false; - sha256 = "sha256-F2mp3b1HBvI2lvwGzuE9QsqotLWgsP0NRyORrTV9FJs="; + sha256 = "sha256-5ojcIOVIa9WKL2e6iZwRgrAINSM8750zciCwpn9vzJU="; - nativeBuildInputs = [ cmake ]; + nativeBuildInputs = [ + cmake + ]; - buildInputs = [ gettext exo garcon gtk3 glib libxfce4ui libxfce4util xfce4-panel xfconf ]; - - postPatch = '' - substituteInPlace panel-plugin/xfce4-popup-whiskermenu.in \ - --replace gettext ${gettext}/bin/gettext - ''; - - postInstall = '' - substituteInPlace $out/bin/xfce4-popup-whiskermenu \ - --replace $out/bin/xfce4-panel ${xfce4-panel.out}/bin/xfce4-panel - ''; + buildInputs = [ + accountsservice + exo + garcon + gettext + glib + gtk-layer-shell + gtk3 + libxfce4ui + libxfce4util + xfce4-panel + xfconf + ]; meta = with lib; { description = "Alternate application launcher for Xfce";