pantheon.appcenter: 3.5.1 -> 3.6.0

This commit is contained in:
Bobby Rong 2021-07-17 11:34:29 +08:00
parent 6e5f2d2b01
commit f08f875879

View file

@ -7,7 +7,6 @@
, elementary-gtk-theme
, elementary-icon-theme
, fetchFromGitHub
, fetchpatch
, flatpak
, gettext
, glib
@ -15,6 +14,7 @@
, gtk3
, json-glib
, libgee
, libhandy
, libsoup
, libxml2
, meson
@ -25,30 +25,20 @@
, python3
, vala
, polkit
, libhandy_0
, wrapGAppsHook
}:
stdenv.mkDerivation rec {
pname = "appcenter";
version = "3.5.1";
version = "3.6.0";
src = fetchFromGitHub {
owner = "elementary";
repo = pname;
rev = version;
sha256 = "MsaXdmL+M+NYAJrrwluleeNxqQg0soFbO/G/FqibBFI=";
sha256 = "0kwqgilhyrj2nbvw5y34nzch5h9jnrg1a1n333qdsx4ax6yrxh4j";
};
patches = [
# Allow build with appstream 0.14.x
# https://github.com/elementary/appcenter/pull/1493
(fetchpatch {
url = "https://github.com/elementary/appcenter/commit/5807dd13fe3c715f26225aed8d7a0abdea0c2a64.patch";
sha256 = "BvEahG9lU9ZdgooFDFhm5evRvnKVcmcHLdmZPb85gbo=";
})
];
passthru = {
updateScript = nix-update-script {
attrPath = "pantheon.${pname}";
@ -78,7 +68,7 @@ stdenv.mkDerivation rec {
gtk3
json-glib
libgee
libhandy_0 # doesn't support libhandy-1 yet
libhandy
libsoup
libxml2
packagekit