2017-10-04 12:23:46 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, intltool, glib, itstool, libxml2, mate, libnotify, libcanberra_gtk3, dbus_glib, upower, gnome3, libtool, wrapGAppsHook }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "mate-power-manager-${version}";
|
|
|
|
version = "${major-ver}.${minor-ver}";
|
|
|
|
major-ver = "1.18";
|
2017-12-24 02:01:46 +00:00
|
|
|
minor-ver = "1";
|
2017-10-04 12:23:46 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pub.mate-desktop.org/releases/${major-ver}/${name}.tar.xz";
|
2017-12-24 02:01:46 +00:00
|
|
|
sha256 = "1sybc4j9bdnb2axmvpbbm85ixhdfa1k1yh769gns56ix0ryd9nr5";
|
2017-10-04 12:23:46 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
glib
|
|
|
|
itstool
|
|
|
|
libxml2
|
|
|
|
libcanberra_gtk3
|
|
|
|
gnome3.gtk
|
|
|
|
gnome3.libgnome_keyring
|
|
|
|
libnotify
|
|
|
|
dbus_glib
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|