Unverified Commit 827399b1 authored by Mario Rodas's avatar Mario Rodas Committed by GitHub
Browse files

Merge pull request #252064 from marsam/fix-sioyek-build

sioyek: fix build
parents 7ef9e50a 28d93b85
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -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