Merge pull request #165560 from bobby285271/gitg

gnome.gitg: fix build with meson 0.61
This commit is contained in:
Bobby Rong 2022-03-24 16:14:29 +08:00 committed by GitHub
commit b8c20d6fb4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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