pazi: install man page

This commit is contained in:
Nick Cao
2024-09-11 12:59:31 -04:00
parent 920cd662b3
commit f7bce361e2
+7 -1
View File
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, rustPlatform, darwin }:
{ lib, stdenv, fetchFromGitHub, rustPlatform, darwin, installShellFiles }:
rustPlatform.buildRustPackage rec {
pname = "pazi";
@@ -11,10 +11,16 @@ rustPlatform.buildRustPackage rec {
sha256 = "sha256-PDgk6VQ/J9vkFJ0N+BH9LqHOXRYM+a+WhRz8QeLZGiM=";
};
nativeBuildInputs = [ installShellFiles ];
buildInputs = lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Security ];
cargoHash = "sha256-7ChHYcyzRPFkZ+zh9lBOHcOizDvJf2cp9ULoI7Ofmqk=";
postInstall = ''
installManPage packaging/man/pazi.1
'';
meta = with lib; {
description = "Autojump \"zap to directory\" helper";
homepage = "https://github.com/euank/pazi";