onionshare: add update script

This commit is contained in:
Gaetan Lepage 2024-11-28 23:50:46 +01:00
parent 665fcc80ea
commit d61106e509

View File

@ -13,6 +13,8 @@
fetchpatch,
versionCheckHook,
gitUpdater,
onionshare-gui,
}:
python3Packages.buildPythonApplication rec {
pname = "onionshare-cli";
@ -119,6 +121,13 @@ python3Packages.buildPythonApplication rec {
__darwinAllowLocalNetworking = true;
passthru = {
updateScript = gitUpdater { rev-prefix = "v"; };
tests = {
inherit onionshare-gui;
};
};
meta = {
description = "Securely and anonymously send and receive files";
longDescription = ''