yew-fmt: init at 0.5.3 (#380912)

This commit is contained in:
Colin
2025-03-10 01:03:36 +00:00
committed by GitHub
2 changed files with 39 additions and 0 deletions
+6
View File
@@ -5185,6 +5185,12 @@
githubId = 245394;
name = "Hannu Hartikainen";
};
dandedotdev = {
email = "contact@dande.dev";
github = "dandedotdev";
githubId = 106054083;
name = "Dandelion Huang";
};
dandellion = {
email = "daniel@dodsorf.as";
matrix = "@dandellion:dodsorf.as";
+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 ];
};
}