diff --git a/pkgs/desktops/xfce/core/xfce4-power-manager/default.nix b/pkgs/desktops/xfce/core/xfce4-power-manager/default.nix index 3a4285b33b7..8755234cbc8 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";