23 stdenv.mkDerivation rec {
28 url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
29 sha256 = "WESdeg0dkA/wO3jKn36Ywh6X9H/Ca+5/8cYYNPIviNM=";
54 # Workaround undefined version requirements
55 # https://github.com/mate-desktop/mate-utils/issues/361
56 substituteInPlace configure \
57 --replace-fail '>= $GTK_LAYER_SHELL_REQUIRED_VERSION' "" \
58 --replace-fail '>= $GDK_WAYLAND_REQUIRED_VERSION' ""
61 configureFlags = [ "--enable-wayland" ];
63 env.NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0";
65 enableParallelBuilding = true;
67 passthru.updateScript = mateUpdateScript { inherit pname; };
70 description = "Utilities for the MATE desktop";
71 homepage = "https://mate-desktop.org";
72 license = with licenses; [ gpl2Plus lgpl2Plus ];
73 platforms = platforms.unix;
74 maintainers = teams.mate.members;