offpunk: install the project's man page

Release v1.9 introduces a man page
This commit is contained in:
Damien Cassou 2023-03-08 13:55:16 +01:00
parent 29da123428
commit be5216077e
No known key found for this signature in database
GPG Key ID: B68746238E59B548

View File

@ -1,5 +1,6 @@
{
fetchFromSourcehut,
installShellFiles,
less,
lib,
makeWrapper,
@ -40,7 +41,7 @@ stdenv.mkDerivation (finalAttrs: {
sha256 = "sha256-sxX4/7jbNbLwHVfE1lDtjr/luby5zAf6Hy1RcwXZLBA=";
};
nativeBuildInputs = [ makeWrapper ];
nativeBuildInputs = [ makeWrapper installShellFiles ];
buildInputs = otherDependencies ++ pythonDependencies;
installPhase = ''
@ -52,6 +53,7 @@ stdenv.mkDerivation (finalAttrs: {
--set PYTHONPATH "$PYTHONPATH" \
--set PATH ${lib.makeBinPath otherDependencies}
installManPage man/*.1
runHook postInstall
'';