meld: pull upstream fix for meson-0.60

Without the change build fails as:

    > data/meson.build:34:0: ERROR: Function does not take positional arguments.
This commit is contained in:
Sergei Trofimovich 2022-03-20 08:57:40 +00:00
parent 6a300e5a27
commit c4c64b6a32

View file

@ -1,5 +1,6 @@
{ lib
, fetchurl
, fetchpatch
, gettext
, itstool
, python3
@ -27,6 +28,16 @@ python3.pkgs.buildPythonApplication rec {
sha256 = "cP6Y65Ms4h1nFw47D2pzF+gT6GLemJM+pROYLpoDMgI=";
};
patches = [
# Pull upstream fix for meson-0.60:
# https://gitlab.gnome.org/GNOME/meld/-/merge_requests/78
(fetchpatch {
name = "meson-0.60.patch";
url = "https://gitlab.gnome.org/GNOME/meld/-/commit/cc7746c141d976a4779cf868774fae1fe7627a6d.patch";
sha256 = "sha256-4uJZyF00Z6svzrOebByZV1hutCZRkIQYC4rUxQr5fdQ=";
})
];
nativeBuildInputs = [
meson
ninja