dfeet: fix build with meson 0.61

This commit is contained in:
Bobby Rong 2022-03-25 10:35:43 +08:00
parent 9bc841fec1
commit 4f988c3f09
No known key found for this signature in database
GPG key ID: ED07364437C91161

View file

@ -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