sioyek: fix build

This commit is contained in:
Mario Rodas 2023-08-28 04:20:00 +00:00
parent b8856794a4
commit 28d93b854b

View file

@ -2,6 +2,7 @@
, stdenv
, installShellFiles
, fetchFromGitHub
, fetchurl
, freetype
, gumbo
, harfbuzz
@ -26,6 +27,15 @@ stdenv.mkDerivation (finalAttrs: {
sha256 = "sha256-GFZaTXJhoBB+rSe7Qk6H6FZJVXr3nO9XgM+LAbS4te4=";
};
patches = [
# Fixed compatibility with mupdf-0.23.0
# https://github.com/ahrm/sioyek/issues/804
(fetchurl {
url = "https://git.alpinelinux.org/aports/plain/community/sioyek/mupdf-0.23.0.patch?id=86e913eccf19b97a16f25d9b6cdf0f50232f1226";
hash = "sha256-sEqhpk7/h6g/fIhbu5LgpKKnbnIFLInrTP1k+/GhrXE=";
})
];
buildInputs = [
gumbo
harfbuzz