texlab: install manpage

This commit is contained in:
Mario Rodas 2020-05-27 18:18:18 -05:00
parent 2bbf9980f7
commit 57800e9b00
No known key found for this signature in database
GPG Key ID: 325649BCA6D53027

View File

@ -1,6 +1,7 @@
{ stdenv
, rustPlatform
, fetchFromGitHub
, installShellFiles
, Security
}:
@ -17,8 +18,14 @@ rustPlatform.buildRustPackage rec {
cargoSha256 = "0iibjh2ll181j69vld1awvjgyv3xwmq0abh10651la4k4jpppx46";
nativeBuildInputs = [ installShellFiles ];
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
postInstall = ''
installManPage texlab.1
'';
meta = with stdenv.lib; {
description = "An implementation of the Language Server Protocol for LaTeX";
homepage = "https://texlab.netlify.com/";