gnome.gnome-tetravex: fix build with meson 0.61

This commit is contained in:
Bobby Rong 2022-03-23 18:09:48 +08:00
parent 8410168698
commit 14e42ff7f6
No known key found for this signature in database
GPG Key ID: ED07364437C91161

View File

@ -1,6 +1,7 @@
{ stdenv
, lib
, fetchurl
, fetchpatch
, pkg-config
, gnome
, gtk3
@ -24,6 +25,17 @@ stdenv.mkDerivation rec {
sha256 = "06wihvqp2p52zd2dnknsc3rii69qib4a30yp15h558xrg44z3k8z";
};
patches = [
# Fix build with meson 0.61
# data/meson.build:37:0: ERROR: Function does not take positional arguments.
# data/meson.build:59:0: ERROR: Function does not take positional arguments.
# Taken from https://gitlab.gnome.org/GNOME/gnome-tetravex/-/merge_requests/20
(fetchpatch {
url = "https://gitlab.gnome.org/GNOME/gnome-tetravex/-/commit/80912d06f5e588f6aca966fa516103275e58d94e.patch";
sha256 = "2+nFw5sJzbInibKaq3J10Ufbl3CnZWlgnUtzRTZ5G0I=";
})
];
nativeBuildInputs = [
wrapGAppsHook
itstool