leptosfmt: add nix-update-script (#513030)

This commit is contained in:
Michael Daniels
2026-05-08 15:57:19 +00:00
committed by GitHub
+8 -1
View File
@@ -2,6 +2,8 @@
lib,
rustPlatform,
fetchFromGitHub,
versionCheckHook,
nix-update-script,
}:
rustPlatform.buildRustPackage (finalAttrs: {
@@ -18,6 +20,11 @@ rustPlatform.buildRustPackage (finalAttrs: {
cargoHash = "sha256-m9426zuxp9GfbYoljW49BVgetLTqqcqGHCb7I+Yw+bc=";
doInstallCheck = true;
nativeInstallCheckInputs = [ versionCheckHook ];
passthru.updateScript = nix-update-script { };
meta = {
description = "Formatter for the leptos view! macro";
mainProgram = "leptosfmt";
@@ -27,6 +34,6 @@ rustPlatform.buildRustPackage (finalAttrs: {
asl20
mit
];
maintainers = [ ];
maintainers = [ lib.maintainers.progrm_jarvis ];
};
})