Skip to content

Commit

Permalink
texlab: 5.20.0 -> 5.21.0
Browse files Browse the repository at this point in the history
  • Loading branch information
kira-bruneau committed Oct 26, 2024
1 parent 41dea55 commit b4510f6
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions pkgs/development/tools/misc/texlab/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,16 @@ let
in
rustPlatform.buildRustPackage rec {
pname = "texlab";
version = "5.20.0";
version = "5.21.0";

src = fetchFromGitHub {
owner = "latex-lsp";
repo = "texlab";
rev = "refs/tags/v${version}";
hash = "sha256-hKQdc9p69L0t2MwCR4Fy20Nl+2qQk5JJoCaB4O43DNY=";
hash = "sha256-Lx7vENYuBXaMvGDOZxAPqivGZVaCXYrihaTnBn9eTm4=";
};

cargoHash = "sha256-A/stdJ1baV0hdDXTdLd9gi8+JO7qPgQbNiYjHkp1GPQ=";

# https://github.com/latex-lsp/texlab/pull/1237
preBuild = ''
rm .cargo/config.toml
'';
cargoHash = "sha256-6JDG9Ac43AW6HV2baZH08uxdb84hjrGXgdzZiFr2Ybk=";

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

Expand All @@ -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.20.0/.github/workflows/publish.yml#L110-L114
# https://github.com/latex-lsp/texlab/blob/v5.21.0/.github/workflows/publish.yml#L110-L114
help2man --no-info "$out/bin/texlab" > texlab.1
installManPage texlab.1
'';
Expand Down

0 comments on commit b4510f6

Please sign in to comment.