gitg: fix build with latest libgitg2-glib

This commit is contained in:
Jan Tojnar 2018-12-14 16:30:46 +01:00
parent 472b70af81
commit 976cf14983
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, vala, intltool, pkgconfig, gtk3, glib
{ stdenv, fetchurl, fetchpatch, vala, intltool, pkgconfig, gtk3, glib
, json-glib, wrapGAppsHook, libpeas, bash, gobject-introspection
, gnome3, gtkspell3, shared-mime-info, libgee, libgit2-glib, libsecret
, meson, ninja, python3
@ -15,6 +15,13 @@ in stdenv.mkDerivation rec {
sha256 = "1fz8q1aiql6k740savdjh0vzbyhcflgf94cfdhvzcrrvm929n2ss";
};
patches = [
(fetchpatch {
url = https://gitlab.gnome.org/GNOME/gitg/commit/42bceea265f53fe7fd4a41037b936deed975fc6c.patch;
sha256 = "1xq245rsi1bi66lswk33pdiazfaagxf77836ds5q73900rx4r7fw";
})
];
postPatch = ''
chmod +x meson_post_install.py
patchShebangs meson_post_install.py