9 , gobject-introspection
15 python3Packages.buildPythonApplication rec {
19 src = fetchFromGitHub {
20 owner = "ubuntu-mate";
23 sha256 = "emeNgCzMhHMeLOyUkXe+8OzQMEWuwNdD4xkGXIFgbh4=";
29 python3Packages.distutils-extra
42 mate.mate-session-manager
45 propagatedBuildInputs = with python3Packages; [
57 # mate-tweak hardcodes absolute paths everywhere. Nuke from orbit.
58 find . -type f -exec sed -i \
59 -e s,/usr/lib/mate-tweak,$out/lib/mate-tweak,g \
62 sed -i 's,{prefix}/,,g' setup.py
65 # Arguments to be passed to `makeWrapper`, only used by buildPython*
67 makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
71 for i in bin/.mate-tweak-wrapped lib/mate-tweak/mate-tweak-helper; do
72 sed -i "s,usr,run/current-system/sw,g" $out/$i
76 passthru.updateScript = gitUpdater { };
79 description = "Tweak tool for the MATE Desktop";
80 homepage = "https://github.com/ubuntu-mate/mate-tweak";
81 changelog = "https://github.com/ubuntu-mate/mate-tweak/releases/tag/${version}";
82 license = [ licenses.gpl2Plus ];
83 platforms = platforms.linux;
84 maintainers = teams.mate.members ++ (with maintainers; [ luc65r ]);