2018-07-21 02:44:44 +02:00
|
|
|
{ stdenv, fetchurl, pkgconfig, intltool, itstool, gnome3, libwnck3, libgtop, libxml2, libnotify, polkit, upower, wirelesstools, mate, hicolor-icon-theme, wrapGAppsHook }:
|
2018-01-04 03:03:10 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "mate-applets-${version}";
|
2019-01-14 14:42:11 +01:00
|
|
|
version = "1.20.3";
|
2018-01-04 03:03:10 +01: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:42:11 +01:00
|
|
|
sha256 = "0y5501wliipxf43p2q9917r3ird7azlrbcwnj2q2q2zy00hvvk5f";
|
2018-01-04 03:03:10 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
pkgconfig
|
|
|
|
intltool
|
|
|
|
itstool
|
|
|
|
wrapGAppsHook
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
gnome3.gtk
|
|
|
|
gnome3.gtksourceview
|
|
|
|
gnome3.gucharmap
|
|
|
|
libwnck3
|
|
|
|
libgtop
|
|
|
|
libxml2
|
|
|
|
libnotify
|
|
|
|
polkit
|
|
|
|
upower
|
|
|
|
wirelesstools
|
2018-02-13 23:44:07 +01:00
|
|
|
mate.libmateweather
|
|
|
|
mate.mate-panel
|
2018-02-25 03:23:58 +01:00
|
|
|
hicolor-icon-theme
|
2018-01-04 03:03:10 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|