gnome-2048: fix build with meson 0.61

This commit is contained in:
Bobby Rong 2022-03-30 17:00:30 +08:00
parent 68824fbc89
commit 5fa8d3ac38
No known key found for this signature in database
GPG Key ID: ED07364437C91161

View File

@ -1,6 +1,7 @@
{ lib
, stdenv
, fetchurl
, fetchpatch
, wrapGAppsHook
, meson
, vala
@ -23,6 +24,15 @@ stdenv.mkDerivation rec {
sha256 = "0s5fg4z5in1h39fcr69j1qc5ynmg7a8mfprk3mc3c0csq3snfwz2";
};
patches = [
# Fix build with meson 0.61
# https://gitlab.gnome.org/GNOME/gnome-2048/-/merge_requests/21
(fetchpatch {
url = "https://gitlab.gnome.org/GNOME/gnome-2048/-/commit/194e22699f7166a016cd39ba26dd719aeecfc868.patch";
sha256 = "Qpn/OJJwblRm5Pi453aU2HwbrNjsf+ftmSnns/5qZ9E=";
})
];
nativeBuildInputs = [
itstool
meson