From fd049bba8c11a40fee9910911d59603d50aa5ec0 Mon Sep 17 00:00:00 2001 From: Bobby Rong Date: Thu, 31 Mar 2022 15:15:59 +0800 Subject: banking: fix build with meson 0.61 --- pkgs/applications/office/banking/default.nix | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'pkgs/applications') diff --git a/pkgs/applications/office/banking/default.nix b/pkgs/applications/office/banking/default.nix index e6c5192b0f94..8f2636395292 100644 --- a/pkgs/applications/office/banking/default.nix +++ b/pkgs/applications/office/banking/default.nix @@ -1,5 +1,5 @@ { lib -, fetchurl +, fetchpatch , fetchFromGitLab , python3 , appstream-glib @@ -28,6 +28,15 @@ python3.pkgs.buildPythonApplication rec { sha256 = "1w5x9iczw5hb9bfdm1df37n8xhdrida1yfrd82k9l8hb1k4q3h9d"; }; + patches = [ + # Fix build with meson 0.61 + # https://gitlab.com/tabos/banking/-/merge_requests/90 + (fetchpatch { + url = "https://gitlab.com/tabos/banking/-/commit/c3cc9afc380fe666ae6e331aa8a97659c60397a4.patch"; + sha256 = "r9n9l47XU4Tg4U5sfiFdGkbG8QB7O4ol9CB1ya06yOc="; + }) + ]; + postPatch = '' patchShebangs meson_post_install.py ''; -- cgit 1.4.1