37 lines
792 B
Nix
Raw Permalink Normal View History

2024-10-20 08:49:16 +00:00
{
lib,
buildGoModule,
fetchFromGitHub,
2025-03-10 18:32:22 +00:00
nix-update-script,
2024-10-20 08:49:16 +00:00
}:
buildGoModule rec {
pname = "tlsinfo";
2025-07-01 17:23:31 +00:00
version = "0.1.48";
2024-10-20 08:49:16 +00:00
src = fetchFromGitHub {
owner = "paepckehh";
repo = "tlsinfo";
tag = "v${version}";
2025-07-01 17:23:31 +00:00
hash = "sha256-1483Y1SoAVsXIjpa1CbOvVQsOol6adoQD9PCxHgSgU4=";
2024-10-20 08:49:16 +00:00
};
2025-07-01 17:23:31 +00:00
vendorHash = "sha256-wHCHj7/DBzW0m16aXdQBjPRKjIlf2iab1345ud+ulVQ=";
2024-10-20 08:49:16 +00:00
ldflags = [
"-s"
"-w"
];
2025-03-10 18:32:22 +00:00
passthru.updateScript = nix-update-script { };
2024-10-20 08:49:16 +00:00
meta = {
changelog = "https://github.com/paepckehh/tlsinfo/releases/tag/v${version}";
homepage = "https://paepcke.de/tlsinfo";
description = "Tool to analyze and troubleshoot TLS connections";
license = lib.licenses.bsd3;
mainProgram = "tlsinfo";
maintainers = with lib.maintainers; [ paepcke ];
};
}