1{
2 lib,
3 stdenv,
4 fetchurl,
5 pkg-config,
6 gettext,
7 gtk3,
8 libwnck,
9 libfakekey,
10 libXtst,
11 mate,
12 wrapGAppsHook3,
13 mateUpdateScript,
14}:
15
16stdenv.mkDerivation rec {
17 pname = "mate-netbook";
18 version = "1.26.0";
19
20 src = fetchurl {
21 url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
22 sha256 = "12gdy69nfysl8vmd8lv8b0lknkaagplrrz88nh6n0rmjkxnipgz3";
23 };
24
25 nativeBuildInputs = [
26 pkg-config
27 gettext
28 wrapGAppsHook3
29 ];
30
31 buildInputs = [
32 gtk3
33 libwnck
34 libfakekey
35 libXtst
36 mate.mate-panel
37 ];
38
39 enableParallelBuilding = true;
40
41 passthru.updateScript = mateUpdateScript { inherit pname; };
42
43 meta = with lib; {
44 description = "MATE utilities for netbooks";
45 mainProgram = "mate-maximus";
46 longDescription = ''
47 MATE utilities for netbooks are an applet and a daemon to maximize
48 windows and move their titles on the panel.
49
50 Installing these utilities is recommended for netbooks and similar
51 devices with low resolution displays.
52 '';
53 homepage = "https://mate-desktop.org";
54 license = with licenses; [
55 gpl3Only
56 lgpl2Plus
57 ];
58 platforms = platforms.unix;
59 teams = [ teams.mate ];
60 };
61}