base16-schemes: unstable-2024-06-21 -> unstable-2024-11-12
[NixPkgs.git] / pkgs / by-name / le / leptosfmt / package.nix
blobef5324d4ba37f380a36c3b9017161f19235ceed5
1 { lib
2 , rustPlatform
3 , fetchFromGitHub
4 }:
6 rustPlatform.buildRustPackage rec {
7   pname = "leptosfmt";
8   version = "0.1.30";
10   src = fetchFromGitHub {
11     owner = "bram209";
12     repo = "leptosfmt";
13     rev = "85b06b9a8bb0616b6a03ba43517245c79e1dd4cf";
14     hash = "sha256-PiVPnni7W8SIhO6L9698RSMTD4VVTB+klLrqMzEtWWo=";
15     fetchSubmodules = true;
16   };
18   cargoHash = "sha256-zj81fXjDM648Y8mIb6QMmAh/ck9GGEypzuJIBWZ32r8=";
20   meta = with lib; {
21     description = "Formatter for the leptos view! macro";
22     mainProgram = "leptosfmt";
23     homepage = "https://github.com/bram209/leptosfmt";
24     changelog = "https://github.com/bram209/leptosfmt/blob/${src.rev}/CHANGELOG.md";
25     license = with licenses; [ asl20 mit ];
26     maintainers = with maintainers; [ figsoda ];
27   };