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