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