pdfpc: allow compiling with markdown3

markdown3 was introduced recently in #289126.

Fixes #304729
This commit is contained in:
Michal Sojka 2024-04-17 21:40:25 +02:00
parent 5672bc9dbf
commit 2bbf89b92c
1 changed files with 6 additions and 0 deletions

View File

@ -41,6 +41,12 @@ stdenv.mkDerivation rec {
url = "https://github.com/pdfpc/pdfpc/commit/d38edfac63bec54173b4b31eae5c7fb46cd8f714.diff";
hash = "sha256-KC2oyzcwU2fUmxaed8qAsKcePwR5KcXgpVdstJg8KmU=";
})
# Allow compiling with markdown3
# https://github.com/pdfpc/pdfpc/pull/716
(fetchpatch {
url = "https://github.com/pdfpc/pdfpc/commit/08e66b9d432e9598c1ee9a78b2355728036ae1a1.patch";
hash = "sha256-SKH2GQ5/6Is36xOFmSs89Yw/w7Fnma3FrNqwjOlUQKM=";
})
];
cmakeFlags = lib.optional stdenv.isDarwin "-DMOVIES=OFF";