mdbook-katex: patch to work with rust 1.64
This commit is contained in:
parent
007a6b6fd6
commit
282f236230
2 changed files with 1424 additions and 2 deletions
|
@ -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 ];
|
||||||
|
|
||||||
|
|
1417
pkgs/tools/text/mdbook-katex/update-mdbook-for-rust-1.64.patch
Normal file
1417
pkgs/tools/text/mdbook-katex/update-mdbook-for-rust-1.64.patch
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue