blob: 52529f1846b90d6eb45252c5a9c9f36e209f4754 (
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
29
30
31
|
{ lib
, rustPlatform
, fetchFromGitHub
}:
rustPlatform.buildRustPackage {
pname = "prettypst";
version = "unstable-2023-11-27";
src = fetchFromGitHub {
owner = "antonWetzel";
repo = "prettypst";
rev = "0bf6aa013efa2b059d8c7dcae3441a6004b02fa1";
hash = "sha256-8rAF7tzs+0qGphmanTvx6MXhYOSG6igAMY4ZLkljRp8=";
};
cargoLock = {
lockFile = ./Cargo.lock;
outputHashes = {
"typst-syntax-0.9.0" = "sha256-LwRB/AQE8TZZyHEQ7kKB10itzEgYjg4R/k+YFqmutDc=";
};
};
meta = {
description = "Formatter for Typst";
homepage = "https://github.com/antonWetzel/prettypst";
license = lib.licenses.mit;
mainProgram = "prettypst";
maintainers = with lib.maintainers; [ drupol ];
};
}
|