forked from mirrors/nixpkgs
gsettings-desktop-schemas: add 3.12.2 version and remove unused passthru
This commit is contained in:
parent
7b33973ea5
commit
8afd771056
|
@ -4,27 +4,18 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
|
||||||
versionMajor = "3.10";
|
versionMajor = "3.12";
|
||||||
versionMinor = "1";
|
versionMinor = "2";
|
||||||
moduleName = "gsettings-desktop-schemas";
|
moduleName = "gsettings-desktop-schemas";
|
||||||
|
|
||||||
name = "${moduleName}-${versionMajor}.${versionMinor}";
|
name = "${moduleName}-${versionMajor}.${versionMinor}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/${moduleName}/${versionMajor}/${name}.tar.xz";
|
url = "mirror://gnome/sources/${moduleName}/${versionMajor}/${name}.tar.xz";
|
||||||
sha256 = "04b8wy10l6pzs5928gnzaia73dz5fjlcdy39xi3mf50ajv27h8s5";
|
sha256 = "da75021e9c45a60d0a97ea3486f93444275d0ace86dbd1b97e5d09000d8c4ad1";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ glib gobjectIntrospection ];
|
buildInputs = [ glib gobjectIntrospection ];
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig intltool ];
|
nativeBuildInputs = [ pkgconfig intltool ];
|
||||||
|
|
||||||
passthru = {
|
|
||||||
doCompileSchemas = ''
|
|
||||||
for pkg in "${gsettings_desktop_schemas}" "${gtk3}"; do
|
|
||||||
cp -s $pkg/share/glib-2.0/schemas/*.gschema.xml $out/share/glib-2.0/schemas/
|
|
||||||
done
|
|
||||||
${glib}/bin/glib-compile-schemas $out/share/glib-2.0/schemas/
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue