mdbook: 0.4.52 -> 0.5.1

This commit is contained in:
Robert Hensing
2025-12-15 22:36:49 +01:00
parent f575f2e29d
commit f19b523d5c
+3 -11
View File
@@ -8,7 +8,7 @@
installShellFiles,
}:
let
version = "0.4.52";
version = "0.5.1";
in
rustPlatform.buildRustPackage rec {
inherit version;
@@ -18,18 +18,10 @@ rustPlatform.buildRustPackage rec {
owner = "rust-lang";
repo = "mdBook";
tag = "v${version}";
hash = "sha256-a3GSMz1+8Ve5cp4x1NjBlsCU/wMC4Jl3/H9qx7+1XlI=";
hash = "sha256-t7Qou3H6dlO97puWQGkPlyb0jjpGoYCrz041iZWWL/s=";
};
cargoHash = "sha256-wvTixSVHXglJM+nBMulZNZKF8pZfNd2G8Z+1PlAWmpk=";
patches = [
(fetchpatch2 {
name = "fix-rust-1.91-tests.patch";
url = "https://github.com/rust-lang/mdBook/commit/841c68d05e763b031524a2b4d679f033cd15e64c.patch?full_index=1";
hash = "sha256-KDQhmFX2TWamtdyssFL69MP3vg9LABb+bF8/7vaFsew=";
})
];
cargoHash = "sha256-bJr0u025syrP/LGgIbXD0mRvQrvnnOntiaAfr/9tQ90=";
nativeBuildInputs = [ installShellFiles ];