Diff: https://github.com/astrale-sharp/typstfmt/compare/0.2.4...0.2.5 Changelog: https://github.com/astrale-sharp/typstfmt/blob/0.2.5/CHANGELOG.md
29 lines
773 B
Nix
29 lines
773 B
Nix
{ lib, rustPlatform, fetchFromGitHub }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "typstfmt";
|
|
version = "0.2.5";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "astrale-sharp";
|
|
repo = "typstfmt";
|
|
rev = version;
|
|
hash = "sha256-+iQOS+WPCWevUFurLfuC5mhuRdJ/1ZsekFoFDzZviag=";
|
|
};
|
|
|
|
cargoLock = {
|
|
lockFile = ./Cargo.lock;
|
|
outputHashes = {
|
|
"typst-syntax-0.7.0" = "sha256-yrtOmlFAKOqAmhCP7n0HQCOQpU3DWyms5foCdUb9QTg=";
|
|
};
|
|
};
|
|
|
|
meta = with lib; {
|
|
description = "A formatter for the Typst language";
|
|
homepage = "https://github.com/astrale-sharp/typstfmt";
|
|
changelog = "https://github.com/astrale-sharp/typstfmt/blob/${src.rev}/CHANGELOG.md";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ figsoda geri1701 ];
|
|
};
|
|
}
|