mdbook-alerts: 0.6.7 -> 0.6.10 (#357851)

This commit is contained in:
Aleksana 2024-11-23 20:08:46 +08:00 committed by GitHub
commit aea7e7636d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,28 +1,21 @@
{
lib,
stdenv,
fetchFromGitHub,
rustPlatform,
darwin,
CoreServices ? darwin.apple_sdk.frameworks.CoreServices,
}:
let
version = "0.6.7";
in
rustPlatform.buildRustPackage {
rustPlatform.buildRustPackage rec {
pname = "mdbook-alerts";
inherit version;
version = "0.6.10";
src = fetchFromGitHub {
owner = "lambdalisue";
repo = "rs-mdbook-alerts";
rev = "v${version}";
hash = "sha256-H3xpaluEUYWuP+JR4Zx8zs/EqeEZPiBa2wcaAtPdvGY=";
hash = "sha256-xyjLrqNb/YC2FWQXsCFJgiIDZz4xWACnrUiBuXS2Nio=";
};
cargoHash = "sha256-epnhKGvKN/iHcI77wEJlq7A5S2CkVRoPFTD+fGp1BH8=";
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ CoreServices ];
cargoHash = "sha256-ZKnpOgTyUETCW0qxAjEj2E75mgHWLxmaTTfpdW+y3OY=";
meta = {
description = "Preprocessor for mdbook to support the inclusion of Markdown alerts";