blob: 880cbdcac34b5f27fc83a2c77c6195725df82520 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
{ lib, rustPlatform, fetchFromGitHub }:
rustPlatform.buildRustPackage rec {
pname = "typstfmt";
version = "0.2.4";
src = fetchFromGitHub {
owner = "astrale-sharp";
repo = "typstfmt";
rev = version;
hash = "sha256-d0vlZqg0RcRvZM7xYdMLX2/UeolUbqZ9H4drJRRKBmc=";
};
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 ];
};
}
|