Merge pull request #146005 from kira-bruneau/texlab
This commit is contained in:
commit
c294b8de0f
1 changed files with 8 additions and 3 deletions
|
@ -6,20 +6,21 @@
|
||||||
, libiconv
|
, libiconv
|
||||||
, Security
|
, Security
|
||||||
, CoreServices
|
, CoreServices
|
||||||
|
, nix-update-script
|
||||||
}:
|
}:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "texlab";
|
pname = "texlab";
|
||||||
version = "3.3.0";
|
version = "3.3.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "latex-lsp";
|
owner = "latex-lsp";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-QLrmUlgrys+Bd2hiaPcfDUtn75XdaMhVThsDRq/ijQQ=";
|
sha256 = "sha256-HX1Mnzq+GsRnUsJERK5gPI5x4op885t+9Vn6vogSK1o=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoSha256 = "sha256-Xw0/vEL50vc9ktwjTz09160Fo7rXRVgeRo/EnWJ2PH0=";
|
cargoSha256 = "sha256-AdzaLqwONI7WEcL8U0OGuyX/pg+BpZbJz9aaSClo47Q=";
|
||||||
|
|
||||||
outputs = [ "out" "man" ];
|
outputs = [ "out" "man" ];
|
||||||
|
|
||||||
|
@ -38,6 +39,10 @@ rustPlatform.buildRustPackage rec {
|
||||||
rmdir "$out/lib"
|
rmdir "$out/lib"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
passthru.updateScript = nix-update-script {
|
||||||
|
attrPath = pname;
|
||||||
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "An implementation of the Language Server Protocol for LaTeX";
|
description = "An implementation of the Language Server Protocol for LaTeX";
|
||||||
homepage = "https://texlab.netlify.app";
|
homepage = "https://texlab.netlify.app";
|
||||||
|
|
Loading…
Reference in a new issue