mdbook-alerts: 0.6.7 -> 0.6.10 (#357851)
This commit is contained in:
commit
aea7e7636d
@ -1,28 +1,21 @@
|
|||||||
{
|
{
|
||||||
lib,
|
lib,
|
||||||
stdenv,
|
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
rustPlatform,
|
rustPlatform,
|
||||||
darwin,
|
|
||||||
CoreServices ? darwin.apple_sdk.frameworks.CoreServices,
|
|
||||||
}:
|
}:
|
||||||
let
|
|
||||||
version = "0.6.7";
|
rustPlatform.buildRustPackage rec {
|
||||||
in
|
|
||||||
rustPlatform.buildRustPackage {
|
|
||||||
pname = "mdbook-alerts";
|
pname = "mdbook-alerts";
|
||||||
inherit version;
|
version = "0.6.10";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "lambdalisue";
|
owner = "lambdalisue";
|
||||||
repo = "rs-mdbook-alerts";
|
repo = "rs-mdbook-alerts";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-H3xpaluEUYWuP+JR4Zx8zs/EqeEZPiBa2wcaAtPdvGY=";
|
hash = "sha256-xyjLrqNb/YC2FWQXsCFJgiIDZz4xWACnrUiBuXS2Nio=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoHash = "sha256-epnhKGvKN/iHcI77wEJlq7A5S2CkVRoPFTD+fGp1BH8=";
|
cargoHash = "sha256-ZKnpOgTyUETCW0qxAjEj2E75mgHWLxmaTTfpdW+y3OY=";
|
||||||
|
|
||||||
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ CoreServices ];
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Preprocessor for mdbook to support the inclusion of Markdown alerts";
|
description = "Preprocessor for mdbook to support the inclusion of Markdown alerts";
|
||||||
|
Loading…
Reference in New Issue
Block a user