mdbook-katex: patch to work with rust 1.64

This commit is contained in:
Theodore Ni 2022-10-05 12:18:32 -07:00
parent 007a6b6fd6
commit 282f236230
No known key found for this signature in database
GPG key ID: 48B67583BDDD4474
2 changed files with 1424 additions and 2 deletions

View file

@ -8,10 +8,15 @@ rustPlatform.buildRustPackage rec {
owner = "lzanini"; owner = "lzanini";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-5PzXX7icRxcHpzjp3x/9ssn2o0444uHrzBn1Ds1DEPM="; hash = "sha256-5PzXX7icRxcHpzjp3x/9ssn2o0444uHrzBn1Ds1DEPM=";
}; };
cargoSha256 = "sha256-tqdpIBlKiyYSWFPYTnzVeDML2GM+mukbOHS3sNYUgdc="; cargoPatches = [
# Remove when https://github.com/lzanini/mdbook-katex/pull/35 is in a new release.
./update-mdbook-for-rust-1.64.patch
];
cargoHash = "sha256-lrEirKkGf9/8yLyLSON54UaeQ3Xtl7g7ezUc7e1KVHw=";
buildInputs = lib.optionals stdenv.isDarwin [ CoreServices ]; buildInputs = lib.optionals stdenv.isDarwin [ CoreServices ];

File diff suppressed because it is too large Load diff