gi-docgen: fix some docs build failures

This commit is contained in:
Jan Tojnar 2021-10-29 03:06:50 +02:00
parent 158ae17beb
commit aa8044d673

View file

@ -1,5 +1,6 @@
{ lib
, fetchFromGitLab
, fetchpatch
, meson
, ninja
, python3
@ -19,6 +20,15 @@ python3.pkgs.buildPythonApplication rec {
sha256 = "Y1IdCH6bytxbKIj48IAw/3XUQhoqwPshvdj/d1hRS3o=";
};
patches = [
# Fix building docs of some packages (e.g. gnome-builder)
# https://gitlab.gnome.org/GNOME/gi-docgen/-/issues/111
(fetchpatch {
url = "https://gitlab.gnome.org/GNOME/gi-docgen/-/commit/72f3c5dbe27aabb5f7a376afda23f3dfc3c2e212.patch";
sha256 = "iVXc3idmcjmFVZQdE2QX2V53YZ79lqxZid9nWdxAZ/Q=";
})
];
nativeBuildInputs = [
meson
ninja