2018-02-25 02:23:58 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, intltool, glib, itstool, libxml2, mate, libnotify, libcanberra-gtk3, dbus-glib, upower, gnome3, libtool, wrapGAppsHook }:
|
2017-10-04 12:23:46 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "mate-power-manager-${version}";
|
2018-02-14 01:22:51 +00:00
|
|
|
version = "1.20.0";
|
2017-10-04 12:23:46 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-02-13 22:44:07 +00:00
|
|
|
url = "http://pub.mate-desktop.org/releases/${mate.getRelease version}/${name}.tar.xz";
|
2018-02-14 01:22:51 +00:00
|
|
|
sha256 = "038c2q5kqvqmkp1i93p4pp9x8p6a9i7lyn3nv522mq06qsbynbww";
|
2017-10-04 12:23:46 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
glib
|
|
|
|
itstool
|
|
|
|
libxml2
|
2018-02-25 02:23:58 +00:00
|
|
|
libcanberra-gtk3
|
2017-10-04 12:23:46 +01:00
|
|
|
gnome3.gtk
|
2018-02-25 02:23:58 +00:00
|
|
|
gnome3.libgnome-keyring
|
2017-10-04 12:23:46 +01:00
|
|
|
libnotify
|
2018-02-25 02:23:58 +00:00
|
|
|
dbus-glib
|
2017-10-04 12:23:46 +01:00
|
|
|
upower
|
|
|
|
mate.mate-panel
|
|
|
|
];
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
pkgconfig
|
|
|
|
intltool
|
|
|
|
libtool
|
|
|
|
wrapGAppsHook
|
|
|
|
];
|
|
|
|
|
|
|
|
configureFlags = [ "--enable-applets" ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "The MATE Power Manager";
|
|
|
|
homepage = http://mate-desktop.org;
|
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = [ maintainers.romildo maintainers.chpatrick ];
|
|
|
|
};
|
|
|
|
}
|