blob: c3d4ac3b395e86e686fc6a253ca902ab6f2f3382 (
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
32
33
34
|
{ lib
, rustPlatform
, fetchFromGitHub
}:
rustPlatform.buildRustPackage rec {
pname = "typst-lsp";
version = "0.4.0";
src = fetchFromGitHub {
owner = "nvarner";
repo = pname;
rev = "v${version}";
hash = "sha256-buU9H+zO5s/IO5JSGRuumVreW8D+qogRt884fHknPOA=";
};
cargoLock = {
lockFile = ./Cargo.lock;
outputHashes = {
"elsa-1.8.1" = "sha256-/85IriplPxx24TE/CsvjIsve100QUZiVqS0TWgPFRbw=";
"typst-0.2.0" = "sha256-3vNJmLmbskAzXVXjiSVDLhRcX1j3ksOgPd53W31YZ0c=";
};
};
cargoHash = "sha256-ISkw0lhUKJG8nWUHcR93sLUFt5dDEyK7EORcOXEmVbE=";
meta = with lib; {
description = "A brand-new language server for Typst";
homepage = "https://github.com/nvarner/typst-lsp";
changelog = "https://github.com/nvarner/typst-lsp/releases/tag/${src.rev}";
license = with licenses; [ mit ];
maintainers = with maintainers; [ figsoda GaetanLepage ];
};
}
|