mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 07:34:11 +00:00
8df7387ce3
Diff: https://github.com/nvarner/typst-lsp/compare/v0.4.0...v0.4.1 Changelog: https://github.com/nvarner/typst-lsp/releases/tag/v0.4.1
35 lines
912 B
Nix
35 lines
912 B
Nix
{ lib
|
|
, rustPlatform
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "typst-lsp";
|
|
version = "0.4.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "nvarner";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
hash = "sha256-bjgGJxAHc3D0j+ZIPPzBw9vJJgchW9hy5E/qCmFjDUw=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|