onionbalance: init at 0.2.4 (#418363)

This commit is contained in:
Sandro
2025-10-07 15:20:17 +00:00
committed by GitHub
+38
View File
@@ -0,0 +1,38 @@
{
lib,
python3Packages,
fetchFromGitLab,
}:
python3Packages.buildPythonApplication rec {
pname = "onionbalance";
version = "0.2.4";
pyproject = true;
src = fetchFromGitLab {
domain = "gitlab.torproject.org";
owner = "tpo";
repo = "onion-services/onionbalance";
tag = version;
hash = "sha256-amwKP9LJ7aHPECNUNTluFpgIFSRLxR7eHQxBxW5574I=";
};
dependencies = with python3Packages; [
cryptography
pycryptodomex
pyyaml
setproctitle
stem
];
build-system = with python3Packages; [
setuptools
];
meta = {
description = "Tool for loadbalancing onion services";
homepage = "https://github.com/torproject/onionbalance";
changelog = "https://github.com/torproject/onionbalance/blob/${version}/docs/changelog.md";
license = lib.licenses.gpl3Plus;
maintainers = [ lib.maintainers.ForgottenBeast ];
mainProgram = "onionbalance";
};
}