iamb: install manpages
This commit is contained in:
parent
8a86b98f0b
commit
4a5788dea6
@ -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 New Issue
Block a user