1{
2 lib,
3 python3,
4 fetchurl,
5 pkg-config,
6 gettext,
7 mate-menus,
8 gtk3,
9 glib,
10 wrapGAppsHook3,
11 gobject-introspection,
12 mateUpdateScript,
13}:
14
15python3.pkgs.buildPythonApplication rec {
16 pname = "mozo";
17 version = "1.28.0";
18
19 format = "other";
20 doCheck = false;
21
22 src = fetchurl {
23 url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
24 sha256 = "/piYT/1qqMNtBZS879ugPeObQtQeAHJRaAOE8870SSQ=";
25 };
26
27 nativeBuildInputs = [
28 pkg-config
29 gettext
30 gobject-introspection
31 wrapGAppsHook3
32 ];
33
34 propagatedBuildInputs = [
35 mate-menus
36 python3.pkgs.pygobject3
37 ];
38
39 buildInputs = [
40 gtk3
41 glib
42 ];
43
44 enableParallelBuilding = true;
45
46 passthru.updateScript = mateUpdateScript { inherit pname; };
47
48 meta = with lib; {
49 description = "MATE Desktop menu editor";
50 mainProgram = "mozo";
51 homepage = "https://github.com/mate-desktop/mozo";
52 license = with licenses; [ lgpl2Plus ];
53 platforms = platforms.unix;
54 teams = [ teams.mate ];
55 };
56}