blob: 5e83892f528ad68a443f57373a9795ca7adc34e3 (
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
|
{ lib, rustPlatform, fetchFromGitHub }:
rustPlatform.buildRustPackage {
pname = "typstfmt";
version = "unstable-2023-08-15";
src = fetchFromGitHub {
owner = "astrale-sharp";
repo = "typstfmt";
rev = "0e5cf2769ef46ca8f6627c688cb8f848ee279a88";
hash = "sha256-xdmEixbINjVjXlGwdBqDPcd4YHcT/WeswlRNEwpnfx4=";
};
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";
license = licenses.mit;
maintainers = with maintainers; [ figsoda geri1701 ];
};
}
|