mdbook-alerts: 0.6.7 -> 0.6.10

This commit is contained in:
R. Ryantm 2024-11-21 10:06:03 +00:00 committed by Nick Cao
parent 69fd9db728
commit bf180635cf
No known key found for this signature in database

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";