05fd421ae8
Diff: https://github.com/bram209/leptosfmt/compare/0.1.13...0.1.14 Changelog: https://github.com/bram209/leptosfmt/blob/0.1.14/CHANGELOG.md
27 lines
680 B
Nix
27 lines
680 B
Nix
{ lib
|
|
, rustPlatform
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "leptosfmt";
|
|
version = "0.1.14";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "bram209";
|
|
repo = "leptosfmt";
|
|
rev = version;
|
|
hash = "sha256-Dj58p//g6sCpZMmTbROrGxs8fiQm4y1WSYqNjQ5K3Oo=";
|
|
};
|
|
|
|
cargoHash = "sha256-epCLbr9Z3o/G0rEiYri0CswZYzjOZkb4UVIO4/vD6ko=";
|
|
|
|
meta = with lib; {
|
|
description = "A formatter for the leptos view! macro";
|
|
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 ];
|
|
};
|
|
}
|