mdbook: 0.4.21 -> 0.4.24

This commit is contained in:
Sergei Lukianov 2022-12-15 09:29:45 -08:00
parent 1218bada61
commit 8d42c003b4

View File

@ -2,25 +2,19 @@
rustPlatform.buildRustPackage rec {
pname = "mdbook";
version = "0.4.21";
version = "0.4.24";
src = fetchFromGitHub {
owner = "rust-lang";
repo = "mdBook";
rev = "v${version}";
sha256 = "sha256-ggcyOsA4cyo5l87cZmOMI0w1gCzmWy9NRJiWxjBdB1E=";
rev = "refs/tags/v${version}";
sha256 = "sha256-Y7ZbgRX0ZaYtLA20fD/L9eNMbARI1f7g6O4Yl/UDO5E=";
};
cargoSha256 = "sha256-KVoMC8ypikABVkIj5dCSHzYZ9CV8UMuAFxSEYLaQTSk=";
cargoSha256 = "sha256-74LyxlDx9tVjw0KGPml6EZbAIbDiW3tvM/CEj5BW7pI=";
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";
passthru = {
tests = {
inherit nix;
@ -30,6 +24,7 @@ rustPlatform.buildRustPackage rec {
meta = with lib; {
description = "Create books from MarkDown";
homepage = "https://github.com/rust-lang/mdBook";
changelog = "https://github.com/rust-lang/mdBook/blob/v${version}/CHANGELOG.md";
license = [ licenses.mpl20 ];
maintainers = [ maintainers.havvy ];
};