yew-fmt: init at 0.5.3

This commit is contained in:
dandedotdev
2025-03-10 01:02:29 +00:00
committed by Colin
parent 3fc521e8f7
commit ae7d0f89fa
+33
View File
@@ -0,0 +1,33 @@
{
lib,
rustfmt,
rustPlatform,
fetchFromGitHub,
nix-update-script,
}:
rustPlatform.buildRustPackage rec {
pname = "yew-fmt";
version = "0.5.3";
src = fetchFromGitHub {
owner = "its-the-shrimp";
repo = "yew-fmt";
tag = "v${version}";
hash = "sha256-Ck6WA6ROm8APTsgoxbVGUqoblc5awW+hmmzcy4ZFoBM=";
};
cargoHash = "sha256-Fp8MT1LJ1EpqwEZ+SpOomqZ7we47w2S5ExkB966Z3r0=";
nativeCheckInputs = [ rustfmt ];
passthru.updateScript = nix-update-script { };
useFetchCargoVendor = true;
meta = {
description = "Code formatter for the Yew framework";
mainProgram = "yew-fmt";
homepage = "https://github.com/its-the-shrimp/yew-fmt";
changelog = "https://github.com/its-the-shrimp/yew-fmt/releases/tag/v${version}";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.dandedotdev ];
};
}