Unverified Commit 63dc0607 authored by Doron Behar's avatar Doron Behar Committed by GitHub
Browse files

Merge pull request #221000 from kira-bruneau/texlab

texlab: 5.3.0 → 5.4.0
parents 7943ea66 b399a8f1
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -15,16 +15,16 @@ let
in
rustPlatform.buildRustPackage rec {
  pname = "texlab";
  version = "5.3.0";
  version = "5.4.0";

  src = fetchFromGitHub {
    owner = "latex-lsp";
    repo = "texlab";
    rev = "refs/tags/v${version}";
    sha256 = "sha256-DOzXsxqOLlETCAVpKpUXAxO+T0pE+2LwnOS99vU2o48=";
    sha256 = "sha256-2P+aidfYkO8l9VjqTstXbksyGTQ3porJhrBYod9oCYQ=";
  };

  cargoSha256 = "sha256-t/4nfsED29F8v3DkLYCh2A8AJvQvZvU8z6C0PLhTFuM=";
  cargoSha256 = "sha256-Yr4i35Yf9kWYD1xQi+RKx6RQtyQUlZS8cXWkGGNuwXI=";

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

@@ -41,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.3.0/.github/workflows/publish.yml#L127-L131
    # https://github.com/latex-lsp/texlab/blob/v5.4.0/.github/workflows/publish.yml#L127-L131
    help2man --no-info "$out/bin/texlab" > texlab.1
    installManPage texlab.1
  '';