cert-viewer: install manual page

This commit is contained in:
Maciej Krüger 2024-04-23 12:26:06 +02:00
parent 62731445bd
commit 97faa99d9d
No known key found for this signature in database
GPG Key ID: 0D948CE19CF49C5F

View File

@ -1,6 +1,7 @@
{ buildGoModule
, fetchFromGitHub
, lib
, installShellFiles
}:
buildGoModule rec {
@ -16,6 +17,15 @@ buildGoModule rec {
vendorHash = "sha256-jNT04bYH5L/Zcfvel673zr2UJLayCO443tvBGZjrBZk=";
nativeBuildInputs = [
installShellFiles
];
postInstall = ''
$out/bin/cert-viewer --help-man > cert-viewer.1
installManPage cert-viewer.1
'';
meta = {
description = "Admin tool to view and inspect multiple x509 Certificates";
homepage = "https://github.com/mgit-at/cert-viewer";