gsettings-desktop-schemas: 3.36.1 -> 3.38.0
* add metadata * reformat https://gitlab.gnome.org/GNOME/gsettings-desktop-schemas/-/blob/3.38.0/NEWS Co-authored-by: WORLDofPEACE <worldofpeace@protonmail.ch>
This commit is contained in:
parent
269c2ade97
commit
f6b85b9f92
@ -1,22 +1,41 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, glib, gobject-introspection
|
{ stdenv
|
||||||
|
, fetchurl
|
||||||
|
, pkgconfig
|
||||||
|
, glib
|
||||||
|
, gobject-introspection
|
||||||
, meson
|
, meson
|
||||||
, ninja
|
, ninja
|
||||||
, python3
|
, python3
|
||||||
# just for passthru
|
# just for passthru
|
||||||
, gnome3 }:
|
, gnome3
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "gsettings-desktop-schemas";
|
pname = "gsettings-desktop-schemas";
|
||||||
version = "3.36.1";
|
version = "3.38.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/gsettings-desktop-schemas/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "1nf97vq07gadwdla6kws8z510xlmv0a7wlyqwwnhyagq7kjdnjq0";
|
sha256 = "0rwcg9sd5rv7gjwapcd1jjk6l16w0p3j7wkicq1rdch4c0kch12p";
|
||||||
};
|
};
|
||||||
|
|
||||||
passthru = {
|
nativeBuildInputs = [
|
||||||
updateScript = gnome3.updateScript { packageName = "gsettings-desktop-schemas"; };
|
glib
|
||||||
};
|
meson
|
||||||
|
ninja
|
||||||
|
pkgconfig
|
||||||
|
python3
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
glib
|
||||||
|
gobject-introspection
|
||||||
|
];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
chmod +x build-aux/meson/post-install.py
|
||||||
|
patchShebangs build-aux/meson/post-install.py
|
||||||
|
'';
|
||||||
|
|
||||||
# meson installs the schemas to share/glib-2.0/schemas
|
# meson installs the schemas to share/glib-2.0/schemas
|
||||||
# We add the override file there too so it will be compiled and later moved by
|
# We add the override file there too so it will be compiled and later moved by
|
||||||
@ -32,16 +51,15 @@ stdenv.mkDerivation rec {
|
|||||||
EOF
|
EOF
|
||||||
'';
|
'';
|
||||||
|
|
||||||
postPatch = ''
|
passthru = {
|
||||||
chmod +x build-aux/meson/post-install.py
|
updateScript = gnome3.updateScript {
|
||||||
patchShebangs build-aux/meson/post-install.py
|
packageName = pname;
|
||||||
'';
|
};
|
||||||
|
};
|
||||||
buildInputs = [ glib gobject-introspection ];
|
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig python3 meson ninja glib ];
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
description = "Collection of GSettings schemas for settings shared by various components of a desktop";
|
||||||
|
license = licenses.lgpl21Plus;
|
||||||
maintainers = teams.gnome.members;
|
maintainers = teams.gnome.members;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user