about summary refs log tree commit diff
path: root/pkgs/desktops/xfce
diff options
context:
space:
mode:
authorBobby Rong <rjl931189261@126.com>2023-05-31 14:13:52 +0800
committerBobby Rong <rjl931189261@126.com>2023-05-31 14:22:54 +0800
commit64ef8aeabdaf7a7f9e6c4b0ee69aff8b7de407d1 (patch)
tree1e127105963ff50495badb6b1b23eb2e6008d165 /pkgs/desktops/xfce
parent4de1a6075961d555c9a35263ae1dbe90452ce862 (diff)
xfce.xfce4-power-manager: 4.18.1 -> 4.18.2
https://gitlab.xfce.org/xfce/xfce4-power-manager/-/compare/xfce4-power-manager-4.18.1...xfce4-power-manager-4.18.2

- gio-unix-2.0 is now required upstream.
- Also dropped exo since we no longer run exo-csource during build.
Diffstat (limited to 'pkgs/desktops/xfce')
-rw-r--r--pkgs/desktops/xfce/core/xfce4-power-manager/default.nix33
1 files changed, 21 insertions, 12 deletions
diff --git a/pkgs/desktops/xfce/core/xfce4-power-manager/default.nix b/pkgs/desktops/xfce/core/xfce4-power-manager/default.nix
index 3a4285b33b772..8755234cbc827 100644
--- a/pkgs/desktops/xfce/core/xfce4-power-manager/default.nix
+++ b/pkgs/desktops/xfce/core/xfce4-power-manager/default.nix
@@ -1,21 +1,30 @@
-{ lib, mkXfceDerivation, automakeAddFlags, exo, gtk3, libnotify
-, libxfce4ui, libxfce4util, upower, xfconf, xfce4-panel }:
+{ lib
+, mkXfceDerivation
+, gtk3
+, libnotify
+, libxfce4ui
+, libxfce4util
+, upower
+, xfconf
+, xfce4-panel
+}:
 
 mkXfceDerivation {
   category = "xfce";
   pname = "xfce4-power-manager";
-  version = "4.18.1";
+  version = "4.18.2";
 
-  sha256 = "sha256-H9tu94ZQLLQhXIDtIWL3qZJo/ux2xC2Y9m7uwwey8M8=";
+  sha256 = "sha256-1+DP5CACzzj96FyRTeCdVEFORnpzFT49d9Uk1iijbFs=";
 
-  nativeBuildInputs = [ automakeAddFlags exo ];
-  buildInputs = [ gtk3 libnotify libxfce4ui libxfce4util upower xfconf xfce4-panel ];
-
-  postPatch = ''
-    substituteInPlace configure.ac.in --replace gio-2.0 gio-unix-2.0
-    automakeAddFlags src/Makefile.am xfce4_power_manager_CFLAGS GIO_CFLAGS
-    automakeAddFlags settings/Makefile.am xfce4_power_manager_settings_CFLAGS GIO_CFLAGS
-  '';
+  buildInputs = [
+    gtk3
+    libnotify
+    libxfce4ui
+    libxfce4util
+    upower
+    xfconf
+    xfce4-panel
+  ];
 
   meta = with lib; {
     description = "A power manager for the Xfce Desktop Environment";