Merge pull request #306249 from mkg20001/cert-viewer-man

cert-viewer: install manual page
This commit is contained in:
Maciej Krüger 2024-04-24 20:04:32 +02:00 committed by GitHub
commit 7521100948
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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";