tlsrpt-reporter: init at 0.5.0

An application suite to receive TLSRPT datagrams and to generate and\
deliver TLSRPT reports.
This commit is contained in:
Martin Weinelt
2025-06-16 06:02:10 +02:00
parent 5a0be37d95
commit 750bb65c68
@@ -0,0 +1,60 @@
{
lib,
asciidoctor,
automake,
installShellFiles,
python3,
fetchFromGitHub,
}:
python3.pkgs.buildPythonApplication rec {
pname = "tlsrpt-reporter";
version = "0.5.0";
pyproject = true;
outputs = [
"out"
"man"
];
src = fetchFromGitHub {
owner = "sys4";
repo = "tlsrpt-reporter";
tag = "v${version}";
hash = "sha256-IH8hJX9l+YonqOuszcMome4mjdIaedgGNIptxTyH1ng=";
};
nativeBuildInputs = [
asciidoctor
automake
installShellFiles
];
build-system = [
python3.pkgs.hatchling
];
postBuild = ''
make -C doc
'';
postInstall = ''
installManPage doc/*.1
'';
nativeCheckInputs = [
python3.pkgs.pytestCheckHook
];
pythonImportsCheck = [
"tlsrpt_reporter"
];
meta = {
description = "Application suite to receive TLSRPT datagrams and to generate and deliver TLSRPT reports";
homepage = "https://github.com/sys4/tlsrpt-reporter";
changelog = "https://github.com/sys4/tlsrpt-reporter/blob/${src.tag}/CHANGELOG.md";
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [ hexa ];
};
}