2019-04-19 12:14:39 +02:00
|
|
|
{ stdenv, fetchurl, pkgconfig, intltool, itstool, gnome3, glib, gtk3, gtksourceview3, 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-04-23 14:44:42 +02:00
|
|
|
version = "1.22.1";
|
2018-01-04 03:03:10 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-04-21 17:40:55 +02:00
|
|
|
url = "http://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
2019-04-23 14:44:42 +02:00
|
|
|
sha256 = "19sjm2180ir8a264rz8m528qaqjpl3q3cq095ab0sbkp2igksrfx";
|
2018-01-04 03:03:10 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
pkgconfig
|
|
|
|
intltool
|
|
|
|
itstool
|
|
|
|
wrapGAppsHook
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
2019-03-09 12:41:12 +01:00
|
|
|
gtk3
|
2019-03-23 05:50:12 +01:00
|
|
|
gtksourceview3
|
2018-01-04 03:03:10 +01:00
|
|
|
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" ];
|
2019-03-09 12:41:12 +01:00
|
|
|
|
2019-04-19 12:14:39 +02:00
|
|
|
NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0";
|
2018-01-04 03:03:10 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Applets for use with the MATE panel";
|
2019-04-15 01:25:45 +02:00
|
|
|
homepage = https://mate-desktop.org;
|
2018-01-04 03:03:10 +01:00
|
|
|
license = with licenses; [ gpl2Plus lgpl2Plus ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.romildo ];
|
|
|
|
};
|
|
|
|
}
|