Merge pull request #258330 from Benjamin-L/iamb-man-pages
iamb: install manpages
This commit is contained in:
commit
4113272f8c
1 changed files with 7 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
|||
{ lib
|
||||
, rustPlatform
|
||||
, fetchFromGitHub
|
||||
, installShellFiles
|
||||
, darwin
|
||||
, stdenv
|
||||
}:
|
||||
|
@ -18,10 +19,16 @@ rustPlatform.buildRustPackage rec {
|
|||
|
||||
cargoHash = "sha256-UbmeEcmUr3zx05Hk36tjsl0Y9ay7DNM1u/3lPqlXN2o=";
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
buildInputs = lib.optionals stdenv.isDarwin [
|
||||
darwin.apple_sdk.frameworks.AppKit
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
OUT_DIR=$releaseDir/build/iamb-*/out
|
||||
installManPage $OUT_DIR/iamb.{1,5}
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A Matrix client for Vim addicts";
|
||||
homepage = "https://github.com/ulyssa/iamb";
|
||||
|
|
Loading…
Reference in a new issue