Merge pull request #175752 from doronbehar/pkg/texlab

texlab: 3.3.2 -> 4.0.0
This commit is contained in:
Kira Bruneau 2022-06-02 18:12:15 -04:00 committed by GitHub
commit 7789008341
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,16 +11,16 @@
rustPlatform.buildRustPackage rec {
pname = "texlab";
version = "3.3.2";
version = "4.0.0";
src = fetchFromGitHub {
owner = "latex-lsp";
repo = pname;
rev = "v${version}";
sha256 = "sha256-SpfX/3uM1y8skN5BqudUtswkCpinrmHWT7ixbgg8QNI=";
sha256 = "sha256-hRY1cJFakbq6pU2TKql+eVWvKtNDzVIQkE5BbRW5n5A=";
};
cargoSha256 = "sha256-0YipSDKss8qaINkUw9dW8n0fVKp4FmagI9+9jFyXaLA=";
cargoSha256 = "sha256-VwB02FfoAKL0fEvpvpxfkAR6PcWZFK/d5aVOtUq7f10=";
outputs = [ "out" "man" ];
@ -30,13 +30,6 @@ rustPlatform.buildRustPackage rec {
postInstall = ''
installManPage texlab.1
# Remove generated dylib of html2md dependency. TexLab statically
# links to the generated rlib and doesn't reference the dylib. I
# couldn't find any way to prevent building this by passing cargo flags.
# See https://gitlab.com/Kanedias/html2md/-/blob/0.2.10/Cargo.toml#L20
rm "$out/lib/libhtml2md${stdenv.hostPlatform.extensions.sharedLibrary}"
rmdir "$out/lib"
'';
passthru.updateScript = nix-update-script {