about summary refs log tree commit diff
path: root/pkgs/desktops/xfce4-14/xfce4-whiskermenu-plugin/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/desktops/xfce4-14/xfce4-whiskermenu-plugin/default.nix')
-rw-r--r--pkgs/desktops/xfce4-14/xfce4-whiskermenu-plugin/default.nix18
1 files changed, 18 insertions, 0 deletions
diff --git a/pkgs/desktops/xfce4-14/xfce4-whiskermenu-plugin/default.nix b/pkgs/desktops/xfce4-14/xfce4-whiskermenu-plugin/default.nix
new file mode 100644
index 000000000000..41cd491a7dc2
--- /dev/null
+++ b/pkgs/desktops/xfce4-14/xfce4-whiskermenu-plugin/default.nix
@@ -0,0 +1,18 @@
+{ mkXfceDerivation, dbus-glib, gtk3, cmake, exo, garcon, libxfce4ui, libxfce4util, xfce4-panel, xfconf }:
+
+mkXfceDerivation rec {
+  category = "panel-plugins";
+  pname = "xfce4-whiskermenu-plugin";
+  version = "2.3.2";
+  rev = "v${version}";
+  sha256 = "0ha6c259d7a0wzpf87ynyzpj3y178iwhpcb87m9zxm66i513qmbs";
+
+  nativeBuildInputs = [ cmake ];
+
+  buildInputs = [ dbus-glib exo garcon gtk3 libxfce4ui libxfce4util xfce4-panel xfconf ];
+
+  postInstall = ''
+    substituteInPlace $out/bin/xfce4-popup-whiskermenu \
+      --replace $out/bin/xfce4-panel ${xfce4-panel.out}/bin/xfce4-panel
+  '';
+}