pantheon.appcenter: 3.9.1 -> 3.10.0

This commit is contained in:
Bobby Rong 2022-05-26 18:52:08 +08:00
parent d49fb30770
commit e4cff32464
No known key found for this signature in database
GPG key ID: ED07364437C91161

View file

@ -2,13 +2,9 @@
, stdenv
, nix-update-script
, appstream
, appstream-glib
, dbus
, desktop-file-utils
, fetchFromGitHub
, fetchpatch
, flatpak
, gettext
, glib
, granite
, gtk3
@ -29,31 +25,17 @@
stdenv.mkDerivation rec {
pname = "appcenter";
version = "3.9.1";
version = "3.10.0";
src = fetchFromGitHub {
owner = "elementary";
repo = pname;
rev = version;
sha256 = "sha256-xktIHQHmz5gh72NEz9UQ9fMvBlj1BihWxHgxsHmTIB0=";
sha256 = "sha256-Y3ueicw6Hn6lw24hdPeJohGol6l7UlQFIefYsBVY6Hg=";
};
patches = [
# Fix AppStream.PoolFlags being renamed
# Though the API break has been fixed in latest appstream,
# let's use the non-deprecated version anyway.
# https://github.com/elementary/appcenter/pull/1794
(fetchpatch {
url = "https://github.com/elementary/appcenter/commit/84bc6400713484aa9365f0ba73f59c495da3f08b.patch";
sha256 = "sha256-HNRCJ/5mRbEVjCq9nrXtdQOOk1Jj5jalApkghD8ecpk=";
})
];
nativeBuildInputs = [
appstream-glib
dbus # for pkg-config
desktop-file-utils
gettext
meson
ninja
pkg-config