2016-09-18 20:35:23 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, intltool, glib, gobjectIntrospection
|
|
|
|
# just for passthru
|
2018-07-21 01:44:44 +01:00
|
|
|
, gnome3 }:
|
2016-09-18 20:35:23 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-02-25 20:07:20 +00:00
|
|
|
name = "gsettings-desktop-schemas-${version}";
|
2018-03-13 01:03:18 +00:00
|
|
|
version = "3.28.0";
|
2018-02-25 20:07:20 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnome/sources/gsettings-desktop-schemas/${gnome3.versionBranch version}/${name}.tar.xz";
|
2018-03-13 01:03:18 +00:00
|
|
|
sha256 = "0rwidacwrxlc54x90h9g3wx2zlisc4vm49vmxi15azmpj1vwvd2c";
|
2018-02-25 20:07:20 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript { packageName = "gsettings-desktop-schemas"; };
|
|
|
|
};
|
2016-09-18 20:35:23 +01:00
|
|
|
|
2017-11-23 21:11:40 +00:00
|
|
|
preInstall = ''
|
|
|
|
mkdir -p $out/share/gsettings-schemas/${name}/glib-2.0/schemas
|
|
|
|
cat - > $out/share/gsettings-schemas/${name}/glib-2.0/schemas/remove-backgrounds.gschema.override <<- EOF
|
|
|
|
[org.gnome.desktop.background]
|
|
|
|
picture-uri='''
|
|
|
|
|
|
|
|
[org.gnome.desktop.screensaver]
|
|
|
|
picture-uri='''
|
|
|
|
EOF
|
2016-09-18 20:35:23 +01:00
|
|
|
'';
|
|
|
|
|
|
|
|
buildInputs = [ glib gobjectIntrospection ];
|
|
|
|
|
|
|
|
nativeBuildInputs = [ pkgconfig intltool ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
maintainers = gnome3.maintainers;
|
|
|
|
};
|
|
|
|
}
|