mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
pantheon.appcenter: fix AppStream.PoolFlags being renamed
This commit is contained in:
parent
4ec18cd57e
commit
1bff9045b4
@ -7,6 +7,7 @@
|
||||
, desktop-file-utils
|
||||
, elementary-icon-theme
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, flatpak
|
||||
, gettext
|
||||
, glib
|
||||
@ -38,6 +39,17 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "sha256-xktIHQHmz5gh72NEz9UQ9fMvBlj1BihWxHgxsHmTIB0=";
|
||||
};
|
||||
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user