10 pname = "cert-viewer";
13 src = fetchFromGitHub {
16 rev = "refs/tags/v${version}";
17 hash = "sha256-6IPr2BG3y/7cmc2WkeeFDpQ59GNU1eOhhm49HE2w0cA=";
20 vendorHash = "sha256-jNT04bYH5L/Zcfvel673zr2UJLayCO443tvBGZjrBZk=";
29 if stdenv.buildPlatform.canExecute stdenv.hostPlatform
30 then "$out/bin/cert-viewer"
31 else lib.getExe buildPackages.cert-viewer;
34 ${prog} --help-man > cert-viewer.1
35 installManPage cert-viewer.1
39 description = "Admin tool to view and inspect multiple x509 Certificates";
40 homepage = "https://github.com/mgit-at/cert-viewer";
41 license = lib.licenses.asl20;
42 maintainers = [ lib.maintainers.mkg20001 ];
43 mainProgram = "cert-viewer";