2018-02-14 10:24:18 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, intltool, itstool, gnome3, libwnck3, libgtop, libxml2, libnotify, dbus_glib, polkit, upower, wirelesstools, mate, hicolor_icon_theme, wrapGAppsHook }:
|
2018-01-04 02:03:10 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "mate-applets-${version}";
|
2018-02-14 01:22:51 +00:00
|
|
|
version = "1.20.0";
|
2018-01-04 02:03:10 +00: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 = "1jmhswfcbawp9ax5p5h2dj8pyajadjdyxa0ac7ldvh7viv8qy52s";
|
2018-01-04 02:03:10 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
pkgconfig
|
|
|
|
intltool
|
|
|
|
itstool
|
|
|
|
wrapGAppsHook
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
gnome3.gtk
|
|
|
|
gnome3.gtksourceview
|
|
|
|
gnome3.gucharmap
|
|
|
|
libwnck3
|
|
|
|
libgtop
|
|
|
|
libxml2
|
|
|
|
libnotify
|
|
|
|
polkit
|
|
|
|
upower
|
|
|
|
wirelesstools
|
2018-02-13 22:44:07 +00:00
|
|
|
mate.libmateweather
|
|
|
|
mate.mate-panel
|
2018-01-04 02:03:10 +00:00
|
|
|
hicolor_icon_theme
|
|
|
|
];
|
|
|
|
|
|
|
|
configureFlags = [ "--enable-suid=no" ];
|
|
|
|
|
|
|
|
NIX_CFLAGS_COMPILE = "-I${gnome3.glib.dev}/include/gio-unix-2.0";
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Applets for use with the MATE panel";
|
|
|
|
homepage = http://mate-desktop.org;
|
|
|
|
license = with licenses; [ gpl2Plus lgpl2Plus ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.romildo ];
|
|
|
|
};
|
|
|
|
}
|