From f19b523d5c05d4f58256924cc8b05a7406127fa8 Mon Sep 17 00:00:00 2001 From: Robert Hensing Date: Tue, 2 Dec 2025 03:21:28 +0100 Subject: [PATCH] mdbook: 0.4.52 -> 0.5.1 --- pkgs/by-name/md/mdbook/package.nix | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/pkgs/by-name/md/mdbook/package.nix b/pkgs/by-name/md/mdbook/package.nix index 6a21c8180575..010aabc320d4 100644 --- a/pkgs/by-name/md/mdbook/package.nix +++ b/pkgs/by-name/md/mdbook/package.nix @@ -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 ];