about summary refs log tree commit diff
path: root/pkgs/applications/office/gtg
diff options
context:
space:
mode:
authorNaïm Favier <n@monade.li>2022-01-22 17:55:16 +0100
committerNaïm Favier <n@monade.li>2022-01-22 20:15:13 +0100
commit3026e3dfd416bf479305adb38d1d606378024d85 (patch)
treecc680faba4fc687522eba5621fd8da74c60771e5 /pkgs/applications/office/gtg
parentb5c610bac8f4128d3574def467362740373d3d3a (diff)
gtg: fix build with meson 0.60
Adds upstream patch from https://github.com/getting-things-gnome/gtg/pull/729
to fix the error about unknown keyword arguments
Diffstat (limited to 'pkgs/applications/office/gtg')
-rw-r--r--pkgs/applications/office/gtg/default.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/pkgs/applications/office/gtg/default.nix b/pkgs/applications/office/gtg/default.nix
index 4b9237d23ce7a..6d536ea60a3d0 100644
--- a/pkgs/applications/office/gtg/default.nix
+++ b/pkgs/applications/office/gtg/default.nix
@@ -1,5 +1,6 @@
 { lib
 , fetchFromGitHub
+, fetchpatch
 , meson
 , python3Packages
 , ninja
@@ -25,6 +26,13 @@ python3Packages.buildPythonApplication rec {
     sha256 = "0b2slm7kjq6q8c7v4m7aqc8m1ynjxn3bl7445srpv1xc0dilq403";
   };
 
+  patches = [
+    # fix build with meson 0.60 (https://github.com/getting-things-gnome/gtg/pull/729)
+    (fetchpatch {
+      url = "https://github.com/getting-things-gnome/gtg/commit/1809d10663ae3d8f69c04138b66f9b4e66ee14f6.patch";
+      sha256 = "sha256-bYr5PAsuvcSqTf0vaJj2APtuBrwHdhXJxtXoAb7CfGk=";
+    })
+  ];
 
   nativeBuildInputs = [
     meson