gnome.gnome-books: fix build with meson 0.61

This commit is contained in:
Bobby Rong 2022-03-30 16:45:42 +08:00
parent d3dab0e67d
commit 3d1d33c5ff
No known key found for this signature in database
GPG key ID: ED07364437C91161

View file

@ -1,8 +1,10 @@
{ lib, stdenv
{ stdenv
, lib
, meson
, ninja
, gettext
, fetchurl
, fetchpatch
, evince
, gjs
, pkg-config
@ -35,6 +37,15 @@ stdenv.mkDerivation rec {
sha256 = "0c41l8m2di8h39bmk2fnhpwglwp6qhljmwqqbihzp4ay9976zrc5";
};
patches = [
# Fix build with meson 0.61
# https://gitlab.gnome.org/GNOME/gnome-books/-/merge_requests/62
(fetchpatch {
url = "https://gitlab.gnome.org/GNOME/gnome-books/-/commit/2663dcdaaaa71f067a4c2d0005eecc0fdf940bf5.patch";
sha256 = "v2mLzrxSWrkJ0N6seR8jNXX14FsneEPuE9ELLVUe6+E=";
})
];
nativeBuildInputs = [
meson
ninja