fend: install man page
This commit is contained in:
parent
40d1ee5bb4
commit
852bf558eb
1 changed files with 12 additions and 0 deletions
|
@ -3,6 +3,8 @@
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, rustPlatform
|
, rustPlatform
|
||||||
, darwin
|
, darwin
|
||||||
|
, pandoc
|
||||||
|
, installShellFiles
|
||||||
}:
|
}:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
|
@ -18,8 +20,18 @@ rustPlatform.buildRustPackage rec {
|
||||||
|
|
||||||
cargoSha256 = "sha256-jGPS9x4DKQCXZkaJu9qIEqoxIu+1WraqfqxGFRV5z7A=";
|
cargoSha256 = "sha256-jGPS9x4DKQCXZkaJu9qIEqoxIu+1WraqfqxGFRV5z7A=";
|
||||||
|
|
||||||
|
nativeBuildInputs = [ pandoc installShellFiles ];
|
||||||
buildInputs = lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Security ];
|
buildInputs = lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Security ];
|
||||||
|
|
||||||
|
postBuild = ''
|
||||||
|
patchShebangs --build ./documentation/build.sh
|
||||||
|
./documentation/build.sh
|
||||||
|
'';
|
||||||
|
|
||||||
|
preFixup = ''
|
||||||
|
installManPage documentation/fend.1
|
||||||
|
'';
|
||||||
|
|
||||||
doInstallCheck = true;
|
doInstallCheck = true;
|
||||||
|
|
||||||
installCheckPhase = ''
|
installCheckPhase = ''
|
||||||
|
|
Loading…
Reference in a new issue