mdbook: 0.4.12 -> 0.4.15

changelog: https://github.com/rust-lang/mdBook/blob/master/CHANGELOG.md#mdbook-0415
This commit is contained in:
Sergei Trofimovich 2022-03-31 07:56:21 +01:00 committed by Yt
parent 5456323de0
commit af3cac14be

View file

@ -2,19 +2,25 @@
rustPlatform.buildRustPackage rec {
pname = "mdbook";
version = "0.4.12";
version = "0.4.15";
src = fetchFromGitHub {
owner = "rust-lang";
repo = "mdBook";
rev = "v${version}";
sha256 = "sha256-2lxotwL3Dc9jRA12iKO5zotO80pa+RfUZucyDRgFOsI=";
sha256 = "sha256-FYuai7YeqrnL5XgOV/EvxIRAu3TkeKJvKiDxnx94PJ8=";
};
cargoSha256 = "sha256-TNd4pj4qSKgmmVtSCSKFCxNtv96xD7+24BPsLXPgiEI=";
cargoSha256 = "sha256-YWifpXrk+T8C3fGlURDKYWw7mD1TUjJbFHTlK84Tgpc=";
buildInputs = lib.optionals stdenv.isDarwin [ CoreServices ];
# Tests rely on unset 'RUST_LOG' value to emit INFO messages.
# 'RUST_LOG=' nixpkgs default enables warnings only and breaks tests.
# Can be removed when https://github.com/rust-lang/mdBook/pull/1777
# is released.
logLevel = "info";
meta = with lib; {
description = "Create books from MarkDown";
homepage = "https://github.com/rust-lang/mdBook";