summary refs log tree commit diff
diff options
context:
space:
mode:
authorBobby Rong <rjl931189261@126.com>2022-03-31 15:15:59 +0800
committerBobby Rong <rjl931189261@126.com>2022-03-31 15:15:59 +0800
commitfd049bba8c11a40fee9910911d59603d50aa5ec0 (patch)
tree459cf24509dfd63961159c908b98c3a1525091fe
parent4dbe6fbd696551fb9d03be52940e94060420846d (diff)
downloadnixpkgs-fd049bba8c11a40fee9910911d59603d50aa5ec0.tar
nixpkgs-fd049bba8c11a40fee9910911d59603d50aa5ec0.tar.gz
nixpkgs-fd049bba8c11a40fee9910911d59603d50aa5ec0.tar.bz2
nixpkgs-fd049bba8c11a40fee9910911d59603d50aa5ec0.tar.lz
nixpkgs-fd049bba8c11a40fee9910911d59603d50aa5ec0.tar.xz
nixpkgs-fd049bba8c11a40fee9910911d59603d50aa5ec0.tar.zst
nixpkgs-fd049bba8c11a40fee9910911d59603d50aa5ec0.zip
banking: fix build with meson 0.61
-rw-r--r--pkgs/applications/office/banking/default.nix11
1 files changed, 10 insertions, 1 deletions
diff --git a/pkgs/applications/office/banking/default.nix b/pkgs/applications/office/banking/default.nix
index e6c5192b0f9..8f263639529 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
   '';