2020-02-14 06:09:49 -08:00
|
|
|
{ stdenv, fetchurl, pkgconfig, gettext, itstool, gnome3, glib, gtk3, gtksourceview3, libwnck3, libgtop, libxml2, libnotify, polkit, upower, wirelesstools, mate, hicolor-icon-theme, wrapGAppsHook }:
|
2018-01-03 18:03:10 -08:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 05:41:18 -07:00
|
|
|
pname = "mate-applets";
|
2020-02-12 09:51:19 -08:00
|
|
|
version = "1.24.0";
|
2018-01-03 18:03:10 -08:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-12-13 14:37:37 -08:00
|
|
|
url = "https://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2020-02-12 09:51:19 -08:00
|
|
|
sha256 = "0nm3amb3v458mxv1mbz9y8f4230gldmydmkkm7vqxsrxbccynkxq";
|
2018-01-03 18:03:10 -08:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
pkgconfig
|
2020-02-14 06:09:49 -08:00
|
|
|
gettext
|
2018-01-03 18:03:10 -08:00
|
|
|
itstool
|
|
|
|
wrapGAppsHook
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
2019-03-09 03:41:12 -08:00
|
|
|
gtk3
|
2019-03-22 21:50:12 -07:00
|
|
|
gtksourceview3
|
2018-01-03 18:03:10 -08:00
|
|
|
gnome3.gucharmap
|
|
|
|
libwnck3
|
|
|
|
libgtop
|
|
|
|
libxml2
|
|
|
|
libnotify
|
|
|
|
polkit
|
|
|
|
upower
|
|
|
|
wirelesstools
|
2018-02-13 14:44:07 -08:00
|
|
|
mate.libmateweather
|
|
|
|
mate.mate-panel
|
2018-02-24 18:23:58 -08:00
|
|
|
hicolor-icon-theme
|
2018-01-03 18:03:10 -08:00
|
|
|
];
|
|
|
|
|
|
|
|
configureFlags = [ "--enable-suid=no" ];
|
2019-03-09 03:41:12 -08:00
|
|
|
|
2019-04-19 03:14:39 -07:00
|
|
|
NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0";
|
2018-01-03 18:03:10 -08:00
|
|
|
|
2020-02-14 13:52:51 -08:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2018-01-03 18:03:10 -08:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Applets for use with the MATE panel";
|
2020-02-12 09:51:19 -08:00
|
|
|
homepage = "https://mate-desktop.org";
|
2018-01-03 18:03:10 -08:00
|
|
|
license = with licenses; [ gpl2Plus lgpl2Plus ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.romildo ];
|
|
|
|
};
|
|
|
|
}
|