3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/desktops/mate/mate-power-manager/default.nix
2017-12-24 00:01:46 -02:00

45 lines
1 KiB
Nix

{ 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";
minor-ver = "1";
src = fetchurl {
url = "http://pub.mate-desktop.org/releases/${major-ver}/${name}.tar.xz";
sha256 = "1sybc4j9bdnb2axmvpbbm85ixhdfa1k1yh769gns56ix0ryd9nr5";
};
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 ];
};
}