Commit 29ed5a10 authored by Emily's avatar Emily
Browse files

multimarkdown: backport patch for CMake 4



Co-authored-by: default avatarK900 <me@0upti.me>
parent 44349dfb
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -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
  '';