@@ -1,6 +1,7 @@
11{ lib
22, pkg-config
33, fetchurl
4+, fetchpatch
45, meson
56, ninja
67, glib
@@ -25,6 +26,17 @@ python3.pkgs.buildPythonApplication rec {
2526 sha256 = "hzPOS5qaVOwYWx2Fv02p2dEQUogqiAdg/2D5d5stHMs=";
2627 };
2728
29+ patches = [
30+ # Fix build with meson 0.61
31+ # data/meson.build:15:0: ERROR: Function does not take positional arguments.
32+ # data/meson.build:27:0: ERROR: Function does not take positional arguments.
33+ # Patch taken from https://gitlab.gnome.org/GNOME/d-feet/-/merge_requests/32
34+ (fetchpatch {
35+ url = "https://gitlab.gnome.org/GNOME/d-feet/-/commit/05465d486afdba116dbc22fc22c1e6573aea4f22.patch";
36+ sha256 = "sFI3nd0YE/deGws/YcTpzC/em9QNgicyb4j7cTfOdhY=";
37+ })
38+ ];
39+
2840 nativeBuildInputs = [
2941 gettext
3042 gobject-introspection