mdbook: use fetchCargoVendor

Cargo 1.84.0 seems to have changed the output format of cargo vendor
again, once again invalidating fetchCargoTarball FOD hashes. It's
time to fix this once and for all, switching across the board to
fetchCargoVendor, which is not dependent on cargo vendor's output
format.

Alyssa Ross fd3338c8 f07977cf

Changed files
+6 -2
pkgs
by-name
md
mdbook
+6 -2
pkgs/by-name/md/mdbook/package.nix
···
let
version = "0.4.43";
in
-
rustPlatform.buildRustPackage {
+
rustPlatform.buildRustPackage rec {
inherit version;
pname = "mdbook";
···
hash = "sha256-aADNcuIeDef9+a3NOWQxo6IRnKJ6AbkvE4GqvFbubyI=";
};
-
cargoHash = "sha256-8K72sJywMKxX/31SJuCEoacWvHrpkuwGGLXJ9MsDkTE=";
+
cargoDeps = rustPlatform.fetchCargoVendor {
+
inherit pname version src;
+
allowGitDependencies = false;
+
hash = "sha256-W5hg6ECNQRIh07ogZkXTn51el2YltutY86aJBYFDTP4=";
+
};
nativeBuildInputs = [ installShellFiles ];