about summary refs log tree commit diff
path: root/pkgs/development/tools/misc/d-feet
diff options
context:
space:
mode:
authorBobby Rong <rjl931189261@126.com>2022-03-25 10:35:43 +0800
committerBobby Rong <rjl931189261@126.com>2022-03-25 10:35:43 +0800
commit4f988c3f09d53672c4a392b2b5b29a1ed9660b6b (patch)
tree70075d8fb2713c7046eeaad0a427ff824eb82fe9 /pkgs/development/tools/misc/d-feet
parent9bc841fec1c0e8b9772afa29f934d2c7ce57da8e (diff)
dfeet: fix build with meson 0.61
Diffstat (limited to 'pkgs/development/tools/misc/d-feet')
-rw-r--r--pkgs/development/tools/misc/d-feet/default.nix12
1 files changed, 12 insertions, 0 deletions
diff --git a/pkgs/development/tools/misc/d-feet/default.nix b/pkgs/development/tools/misc/d-feet/default.nix
index 3db895f4de01f..a394ee6157732 100644
--- a/pkgs/development/tools/misc/d-feet/default.nix
+++ b/pkgs/development/tools/misc/d-feet/default.nix
@@ -1,6 +1,7 @@
 { lib
 , pkg-config
 , fetchurl
+, fetchpatch
 , meson
 , ninja
 , glib
@@ -25,6 +26,17 @@ python3.pkgs.buildPythonApplication rec {
     sha256 = "hzPOS5qaVOwYWx2Fv02p2dEQUogqiAdg/2D5d5stHMs=";
   };
 
+  patches = [
+    # Fix build with meson 0.61
+    # data/meson.build:15:0: ERROR: Function does not take positional arguments.
+    # data/meson.build:27:0: ERROR: Function does not take positional arguments.
+    # Patch taken from https://gitlab.gnome.org/GNOME/d-feet/-/merge_requests/32
+    (fetchpatch {
+      url = "https://gitlab.gnome.org/GNOME/d-feet/-/commit/05465d486afdba116dbc22fc22c1e6573aea4f22.patch";
+      sha256 = "sFI3nd0YE/deGws/YcTpzC/em9QNgicyb4j7cTfOdhY=";
+    })
+  ];
+
   nativeBuildInputs = [
     gettext
     gobject-introspection