Unverified Commit 75211009 authored by Maciej Krüger's avatar Maciej Krüger Committed by GitHub
Browse files

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

cert-viewer: install manual page
parents 657e5c43 97faa99d
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
{ 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";