2021-04-02 21:58:16 +02:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, gettext, gtk3, libindicator-gtk3, mate, hicolor-icon-theme, wrapGAppsHook, mateUpdateScript }:
|
2018-01-04 13:02:27 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "mate-indicator-applet";
|
2020-02-12 18:51:20 +01:00
|
|
|
version = "1.24.0";
|
2018-01-04 13:02:27 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-01-15 14:21:58 +01:00
|
|
|
url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2020-02-12 18:51:20 +01:00
|
|
|
sha256 = "0m7pvbs5hhy5f400wqb8wp0dw3pyjpjnjax9qzc73j97l1k3zawf";
|
2018-01-04 13:02:27 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
2021-01-17 03:21:50 +01:00
|
|
|
pkg-config
|
2020-02-14 15:09:49 +01:00
|
|
|
gettext
|
2018-01-04 13:02:27 +01:00
|
|
|
wrapGAppsHook
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
gtk3
|
|
|
|
libindicator-gtk3
|
2018-02-13 23:44:07 +01:00
|
|
|
mate.mate-panel
|
2018-02-25 03:23:58 +01:00
|
|
|
hicolor-icon-theme
|
2018-01-04 13:02:27 +01:00
|
|
|
];
|
|
|
|
|
2020-02-14 22:52:51 +01:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2021-04-02 21:58:16 +02:00
|
|
|
passthru.updateScript = mateUpdateScript { inherit pname version; };
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-02-12 18:51:20 +01:00
|
|
|
homepage = "https://github.com/mate-desktop/mate-indicator-applet";
|
2018-01-04 13:02:27 +01:00
|
|
|
description = "MATE panel indicator applet";
|
|
|
|
longDescription = ''
|
|
|
|
A small applet to display information from various applications
|
|
|
|
consistently in the panel.
|
2021-01-15 14:21:58 +01:00
|
|
|
|
2018-01-04 13:02:27 +01:00
|
|
|
The indicator applet exposes Ayatana Indicators in the MATE Panel.
|
|
|
|
Ayatana Indicators are an initiative by Canonical to provide crisp and
|
|
|
|
clean system and application status indication. They take the form of
|
|
|
|
an icon and associated menu, displayed (usually) in the desktop panel.
|
|
|
|
Existing indicators include the Message Menu, Battery Menu and Sound
|
|
|
|
menu.
|
|
|
|
'';
|
|
|
|
license = with licenses; [ gpl3Plus lgpl2Plus ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = [ maintainers.romildo ];
|
|
|
|
};
|
|
|
|
}
|