12 , enableWebkit2gtk ? stdenv.isLinux
14 , gobject-introspection
23 , gsettings-desktop-schemas
26 stdenv.mkDerivation rec {
31 url = "mirror://gnome/sources/glade/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
32 sha256 = "McmtrqhJlyq5UXtWThmsGZd8qXdYsQntwxZwCPU+PZw=";
55 python3.pkgs.pygobject3
56 gsettings-desktop-schemas
58 gnome.adwaita-icon-theme
59 ] ++ lib.optionals enableWebkit2gtk [
64 (lib.mesonEnable "webkit2gtk" enableWebkit2gtk)
68 substituteInPlace meson.build \
69 --replace 'webkit2gtk-4.0' 'webkit2gtk-4.1'
73 updateScript = gnome.updateScript {
79 homepage = "https://wiki.gnome.org/Apps/Glade";
80 description = "User interface designer for GTK applications";
81 maintainers = teams.gnome.members;
82 license = licenses.lgpl2;
83 platforms = platforms.unix;