21 gobject-introspection,
23 lib.meta.availableOn stdenv.hostPlatform gobject-introspection
24 && stdenv.hostPlatform.emulatorAvailable buildPackages,
25 withDocs ? withIntrospection,
28 stdenv.mkDerivation rec {
36 ] ++ lib.optional withDocs "devdoc";
39 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
40 sha256 = "0cs5nayg080y8pb9b7qccm1ni8wkicdmqp1jsgc22110r6j24zyg";
55 ++ lib.optionals (withDocs && !stdenv.buildPlatform.canExecute stdenv.hostPlatform) [
56 mesonEmulatorHook # gtkdoc invokes the host binary to produce documentation
65 ++ lib.optionals withIntrospection [
71 (lib.mesonBool "gtk_doc" withDocs)
72 (lib.mesonBool "vapi" withIntrospection)
76 dbus # for dbus-daemon
80 !stdenv.hostPlatform.isAarch32 && !stdenv.hostPlatform.isAarch64 && !stdenv.hostPlatform.isDarwin;
83 chmod +x meson_post_install.py tests/test-dconf.py
84 patchShebangs meson_post_install.py
85 patchShebangs tests/test-dconf.py
89 updateScript = gnome.updateScript {
91 versionPolicy = "odd-unstable";
93 tests = { inherit (nixosTests) dconf; };
97 homepage = "https://gitlab.gnome.org/GNOME/dconf";
98 license = licenses.lgpl21Plus;
99 platforms = platforms.unix;
100 maintainers = teams.gnome.members;
101 mainProgram = "dconf";