Unverified Commit 5f6d83da authored by Kira Bruneau's avatar Kira Bruneau Committed by GitHub
Browse files

Merge pull request #227854 from kira-bruneau/texlab

texlab: 5.4.2 -> 5.5.0
parents ec164398 646872b2
Loading
Loading
Loading
Loading
+0 −1995

File deleted.

Preview size limit exceeded, changes collapsed.

+5 −10
Original line number Diff line number Diff line
@@ -15,21 +15,16 @@ let
in
rustPlatform.buildRustPackage rec {
  pname = "texlab";
  version = "5.4.1";
  version = "5.5.0";

  src = fetchFromGitHub {
    owner = "latex-lsp";
    repo = "texlab";
    rev = "refs/tags/v${version}";
    sha256 = "sha256-rTYcYq8SL404A/ke5Rb9QcCtwHKhs+84TQGNqRn11HM=";
    hash = "sha256-xff6Wj1ZYn3jGrj/snr4ATabLUmL1Jw2LjsjpoG3ZjI=";
  };

  cargoLock = {
    lockFile = ./Cargo.lock;
    outputHashes = {
      "salsa-2022-0.1.0" = "sha256-GupU78LkQGUQ+GzqAVZZlNKL1zZkmdqJz9+81ROXDqE=";
    };
  };
  cargoHash = "sha256-gEwsnVXY84mTO+JZvcI7EEYCOnVFM07m4VvcWI6zFT0=";

  outputs = [ "out" ] ++ lib.optional (!isCross) "man";

@@ -46,7 +41,7 @@ rustPlatform.buildRustPackage rec {
  # generate the man page
  postInstall = lib.optionalString (!isCross) ''
    # TexLab builds man page separately in CI:
    # https://github.com/latex-lsp/texlab/blob/v5.4.0/.github/workflows/publish.yml#L127-L131
    # https://github.com/latex-lsp/texlab/blob/v5.5.0/.github/workflows/publish.yml#L127-L131
    help2man --no-info "$out/bin/texlab" > texlab.1
    installManPage texlab.1
  '';
@@ -55,7 +50,7 @@ rustPlatform.buildRustPackage rec {

  meta = with lib; {
    description = "An implementation of the Language Server Protocol for LaTeX";
    homepage = "https://texlab.netlify.app";
    homepage = "https://github.com/latex-lsp/texlab";
    license = licenses.mit;
    maintainers = with maintainers; [ doronbehar kira-bruneau ];
    platforms = platforms.all;