gnome.gnome-software: 42.4 → 43.alpha

https://gitlab.gnome.org/GNOME/gnome-software/-/compare/42.4...43.alpha

Enable malcontent and gudev support. We did not have the former packaged when it was added (59816457b6) and probably forgot to introduce the latter (1c1d677149).

Also do not build tests since they require extra dependencies and do not work anyway.

Changelog-Reviewed-By: Jan Tojnar <jtojnar@gmail.com>
This commit is contained in:
Jan Tojnar 2022-07-23 15:46:12 +00:00
parent 2b093b2678
commit 6c1bb46ee6

View File

@ -24,7 +24,9 @@
, gtk4
, gsettings-desktop-schemas
, gnome-desktop
, libgudev
, libxmlb
, malcontent
, json-glib
, libsecret
, valgrind-light
@ -42,11 +44,11 @@ in
stdenv.mkDerivation rec {
pname = "gnome-software";
version = "42.4";
version = "43.alpha";
src = fetchurl {
url = "mirror://gnome/sources/gnome-software/${lib.versions.major version}/${pname}-${version}.tar.xz";
sha256 = "cRgp7mf58qG2S/oXQTdzuY8NxdIZ649sohfNZXK7SnQ=";
sha256 = "Xx913hkGKXJyBeubS886hP1tpwxAdZAXB6V3sOh5P6g=";
};
patches = [
@ -87,18 +89,19 @@ stdenv.mkDerivation rec {
ostree
polkit
flatpak
libgudev
libxmlb
malcontent
libsysprof-capture
] ++ lib.optionals withFwupd [
fwupd
];
mesonFlags = [
"-Dgudev=false"
# FIXME: package malcontent parental controls
"-Dmalcontent=false"
# Needs flatpak to upgrade
"-Dsoup2=true"
# Requires /etc/machine-id, D-Bus system bus, etc.
"-Dtests=false"
] ++ lib.optionals (!withFwupd) [
"-Dfwupd=false"
];