nixpkgs/pkgs/desktops/xfce/core/xfce4-power-manager/default.nix
2021-03-31 18:57:39 -03:00

23 lines
738 B
Nix

{ mkXfceDerivation, automakeAddFlags, exo, gtk3, libnotify
, libxfce4ui, libxfce4util, upower, xfconf }:
mkXfceDerivation {
category = "xfce";
pname = "xfce4-power-manager";
version = "4.16.0";
sha256 = "1rfw07xbv83rfb0mz3ayanlcvnaq7xpl2znsyya0hspysvavwks2";
nativeBuildInputs = [ automakeAddFlags exo ];
buildInputs = [ gtk3 libnotify libxfce4ui libxfce4util upower xfconf ];
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
'';
meta = {
description = "A power manager for the Xfce Desktop Environment";
};
}