2019-09-03 01:45:26 +01:00
|
|
|
{ stdenv
|
|
|
|
, rustPlatform
|
|
|
|
, fetchFromGitHub
|
|
|
|
, Security
|
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "texlab";
|
2020-02-14 03:35:02 +00:00
|
|
|
version = "1.10.0";
|
2019-09-03 01:45:26 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "latex-lsp";
|
|
|
|
repo = pname;
|
2020-02-14 03:35:02 +00:00
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "12zfcvbihirh38xxzc8fbx293m4vsrhq6kh0qnhnhlrx75m09l9i";
|
2019-09-03 01:45:26 +01:00
|
|
|
};
|
|
|
|
|
2020-02-16 04:11:43 +00:00
|
|
|
cargoSha256 = "08fi0c4s0d1p2rqxvj1y82zg6xl3n0ikgyhgrjwh6xay8f0121f0";
|
2019-09-03 01:45:26 +01:00
|
|
|
|
|
|
|
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "An implementation of the Language Server Protocol for LaTeX";
|
|
|
|
homepage = https://texlab.netlify.com/;
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ doronbehar metadark ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|