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
1 changed files with 7 additions and 0 deletions

View File

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