bcb2f287e1
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
27 lines
709 B
Nix
27 lines
709 B
Nix
{ lib
|
|
, rustPlatform
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "leptosfmt";
|
|
version = "0.1.18";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "bram209";
|
|
repo = "leptosfmt";
|
|
rev = version;
|
|
hash = "sha256-bNfTZgcru7PJR/9AcaOmW0E8QwdiXcuP7MWXcDPXGso=";
|
|
};
|
|
|
|
cargoHash = "sha256-NQYIq9Wc2mtUGeS3Iv2e0nfQkvcX6hOxZ6FHVcHD5cs=";
|
|
|
|
meta = with lib; {
|
|
description = "Formatter for the leptos view! macro";
|
|
mainProgram = "leptosfmt";
|
|
homepage = "https://github.com/bram209/leptosfmt";
|
|
changelog = "https://github.com/bram209/leptosfmt/blob/${src.rev}/CHANGELOG.md";
|
|
license = with licenses; [ asl20 mit ];
|
|
maintainers = with maintainers; [ figsoda ];
|
|
};
|
|
}
|