multimarkdown: backport patch for CMake 4

Co-authored-by: K900 <me@0upti.me>
This commit is contained in:
Emily
2025-09-19 16:29:10 +01:00
co-authored by K900
parent 44349dfbb5
commit 29ed5a10f8
@@ -2,6 +2,7 @@
lib,
stdenv,
fetchFromGitHub,
fetchpatch,
cmake,
perl,
pkg-config,
@@ -18,6 +19,14 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-b6yCn0NFpONI7WwfjDOc0d2nCKMIiUXi+rsnytiNc0Q=";
};
patches = [
(fetchpatch {
name = "multimarkdown-fix-cmake-4.patch";
url = "https://github.com/fletcher/MultiMarkdown-6/commit/655c0908155758e7c94858af2fb99dc992709075.patch";
hash = "sha256-d1b5NcBQDVnbmTvVnPyiTS8aSx/VGgRLHD0nSs+JksI=";
})
];
postPatch = ''
patchShebangs tools/enumsToPerl.pl
'';