Merge pull request #230356 from kira-bruneau/texlab

texlab: 5.5.0 -> 5.5.1
This commit is contained in:
Weijia Wang 2023-05-06 22:12:34 +03:00 committed by GitHub
commit 2b78e33d37
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,16 +15,16 @@ let
in in
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "texlab"; pname = "texlab";
version = "5.5.0"; version = "5.5.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "latex-lsp"; owner = "latex-lsp";
repo = "texlab"; repo = "texlab";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-xff6Wj1ZYn3jGrj/snr4ATabLUmL1Jw2LjsjpoG3ZjI="; hash = "sha256-8m7GTD4EX7mWe1bYPuz+4g7FaPuW8++Y/fpIRsdxo6g=";
}; };
cargoHash = "sha256-gEwsnVXY84mTO+JZvcI7EEYCOnVFM07m4VvcWI6zFT0="; cargoHash = "sha256-dcKVhHYODTFw46o3wM8EH0IpT6DkUfOHvdDmbMQmsX0=";
outputs = [ "out" ] ++ lib.optional (!isCross) "man"; outputs = [ "out" ] ++ lib.optional (!isCross) "man";
@ -41,7 +41,7 @@ rustPlatform.buildRustPackage rec {
# generate the man page # generate the man page
postInstall = lib.optionalString (!isCross) '' postInstall = lib.optionalString (!isCross) ''
# TexLab builds man page separately in CI: # TexLab builds man page separately in CI:
# https://github.com/latex-lsp/texlab/blob/v5.5.0/.github/workflows/publish.yml#L127-L131 # https://github.com/latex-lsp/texlab/blob/v5.5.1/.github/workflows/publish.yml#L127-L131
help2man --no-info "$out/bin/texlab" > texlab.1 help2man --no-info "$out/bin/texlab" > texlab.1
installManPage texlab.1 installManPage texlab.1
''; '';