From bf180635cffea564af79f0ef66146a602f8b706c Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 21 Nov 2024 10:06:03 +0000 Subject: [PATCH] mdbook-alerts: 0.6.7 -> 0.6.10 --- pkgs/by-name/md/mdbook-alerts/package.nix | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/pkgs/by-name/md/mdbook-alerts/package.nix b/pkgs/by-name/md/mdbook-alerts/package.nix index b546859b0b50..b6b3bf81ac34 100644 --- a/pkgs/by-name/md/mdbook-alerts/package.nix +++ b/pkgs/by-name/md/mdbook-alerts/package.nix @@ -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";