diff options
author | Maciej Krüger | 2024-04-23 12:26:06 +0200 |
---|---|---|
committer | Maciej Krüger | 2024-04-23 12:26:06 +0200 |
commit | 97faa99d9df74709182f35bb4c86c5ad21eb23c6 (patch) | |
tree | 822533767eef68bf3e17c1412b14ee894de53d22 /pkgs/by-name/ce/cert-viewer | |
parent | 62731445bddc226d2b09c1e2b714cf2dc0c18b67 (diff) |
cert-viewer: install manual page
Diffstat (limited to 'pkgs/by-name/ce/cert-viewer')
-rw-r--r-- | pkgs/by-name/ce/cert-viewer/package.nix | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/pkgs/by-name/ce/cert-viewer/package.nix b/pkgs/by-name/ce/cert-viewer/package.nix index df9032dfbec7..806758f03aef 100644 --- a/pkgs/by-name/ce/cert-viewer/package.nix +++ b/pkgs/by-name/ce/cert-viewer/package.nix @@ -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"; |