gnome.gitg: fix build with meson 0.61

This commit is contained in:
Bobby Rong 2022-03-15 20:45:58 +08:00
parent 9bc841fec1
commit 44decbe9bb
No known key found for this signature in database
GPG key ID: ED07364437C91161

View file

@ -1,6 +1,7 @@
{ lib
, stdenv
, fetchurl
, fetchpatch
, vala
, gettext
, pkg-config
@ -36,6 +37,15 @@ stdenv.mkDerivation rec {
sha256 = "f7Ybn7EPuqVI0j1wZbq9cq1j5iHeVYQMBlzm45hsRik=";
};
patches = [
# Fix build with meson 0.61
# data/meson.build:8:5: ERROR: Function does not take positional arguments.
(fetchpatch {
url = "https://gitlab.gnome.org/GNOME/gitg/-/commit/1978973b12848741b08695ec2020bac98584d636.patch";
sha256 = "sha256-RzaGPGGiKMgjy0waFqt48rV2yWBGZgC3kHehhVhxktk=";
})
];
nativeBuildInputs = [
gobject-introspection
gettext