@@ -2,6 +2,7 @@
22, lib
33, rustPlatform
44, fetchFromGitLab
5+, fetchpatch
56, meson
67, ninja
78, gettext
@@ -31,6 +32,16 @@ stdenv.mkDerivation rec {
3132 sha256 = "00vy1qkkpn76jdpybsq9qp8s6fh1ih10j73p2x43sl97m5g8944h";
3233 };
3334
35+ patches = [
36+ # Fix build with meson 0.61, can be removed on next release.
37+ # podcasts-gtk/resources/meson.build:5:0: ERROR: Function does not take positional arguments.
38+ # podcasts-gtk/resources/meson.build:30:0: ERROR: Function does not take positional arguments.
39+ (fetchpatch {
40+ url = "https://gitlab.gnome.org/World/podcasts/-/commit/6614bb62ecbec7c3b18ea7fe44beb50fe7942b27.patch";
41+ sha256 = "3TVKFV9V6Ofdajgkdc+j+yxsU21C4JWSc6GjLExSM00=";
42+ })
43+ ];
44+
3445 cargoDeps = rustPlatform.fetchCargoTarball {
3546 inherit src;
3647 name = "${pname}-${version}";