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