22 , gobject-introspection
25 , gsettings-desktop-schemas
28 stdenv.mkDerivation rec {
29 pname = "gnome-desktop";
32 outputs = [ "out" "dev" "devdoc" ];
35 url = "mirror://gnome/sources/gnome-desktop/${lib.versions.major version}/${pname}-${version}.tar.xz";
36 sha256 = "sha256-PW4VMxdIYVdZaqOAL4dnZBTFcHOPRQqUoEH+iDVCCmk=";
39 patches = lib.optionals stdenv.isLinux [
41 src = ./bubblewrap-paths.patch;
42 bubblewrap_bin = "${bubblewrap}/bin/bwrap";
43 inherit (builtins) storeDir;
62 libxkbcommon # for xkbregistry
67 ] ++ lib.optionals stdenv.isLinux [
74 propagatedBuildInputs = [
75 gsettings-desktop-schemas
80 "-Ddesktop_docs=false"
81 ] ++ lib.optionals (!stdenv.isLinux) [
86 separateDebugInfo = stdenv.isLinux;
89 updateScript = gnome.updateScript {
90 packageName = "gnome-desktop";
95 description = "Library with common API for various GNOME modules";
96 homepage = "https://gitlab.gnome.org/GNOME/gnome-desktop";
97 license = with licenses; [ gpl2Plus lgpl2Plus ];
98 platforms = platforms.unix;
99 maintainers = teams.gnome.members;