2017-12-17 15:02:52 +00:00
|
|
|
{ mkXfceDerivation, automakeAddFlags, exo, gtk3, libnotify
|
|
|
|
, libxfce4ui, libxfce4util, upower, xfconf }:
|
|
|
|
|
|
|
|
mkXfceDerivation rec {
|
|
|
|
category = "xfce";
|
|
|
|
pname = "xfce4-power-manager";
|
2018-07-18 00:01:02 +01:00
|
|
|
version = "1.6.1";
|
2017-12-17 15:02:52 +00:00
|
|
|
|
2018-07-18 00:01:02 +01:00
|
|
|
sha256 = "0b32m46v3dv1ln3xwlpqbnpflknm4gyfk2w6gn7xjx1k7igcjym3";
|
2017-12-17 15:02:52 +00:00
|
|
|
|
|
|
|
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
|
2018-07-18 00:01:02 +01:00
|
|
|
automakeAddFlags settings/Makefile.am xfce4_power_manager_settings_CFLAGS GIO_CFLAGS
|
2017-12-17 15:02:52 +00:00
|
|
|
'';
|
|
|
|
}
|