1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-19 20:36:27 +00:00
nixpkgs/pkgs/development/tools/misc/texlab/default.nix
K. Bruneau 7efeca1721 texlab: 1.7.0 -> 1.9.0 (#76730)
This commit also removes texlab-citeproc since it was replaced with
citeproc-rs and is no longer available.
2019-12-31 17:28:48 -05:00

32 lines
860 B
Nix

{ stdenv
, rustPlatform
, fetchFromGitHub
, nodejs
, Security
}:
rustPlatform.buildRustPackage rec {
pname = "texlab";
version = "1.9.0";
src = fetchFromGitHub {
owner = "latex-lsp";
repo = pname;
# 1.9.0 + patches for building citeproc-db, see https://github.com/latex-lsp/texlab/pull/137
rev = "e38fe4bedc9d8094649a9d2753ca9855e0c18882";
sha256 = "0j87gmzyqrpgxrgalvlfqj5cj8j0h23hbbv8vdz2dhc847xhhfq1";
};
cargoSha256 = "09d9r7aal1q00idv08zdw7dygyasyp5l6jrh96cdclf63h1p4fk9";
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;
};
}