tutanota-desktop: 235.240718.0 -> 250.241025.0 (#349778)

This commit is contained in:
Johannes Jöns 2024-10-31 18:19:00 +01:00 committed by GitHub
commit 81bc750cc9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,15 +1,16 @@
{ lib
, appimageTools
, fetchurl
, gitUpdater
}:
appimageTools.wrapType2 rec {
pname = "tutanota-desktop";
version = "235.240718.0";
version = "250.241025.0";
src = fetchurl {
url = "https://github.com/tutao/tutanota/releases/download/tutanota-desktop-release-${version}/tutanota-desktop-linux.AppImage";
hash = "sha256-Pycz05cwse2SUvJlaCXMA1/Trdt6ZGOJK3NRSPb6/VM=";
hash = "sha256-PhcrDjqRmR1NVBLVCuj5dcc+WskWeZ9dJXdtOUveyL0=";
};
extraPkgs = pkgs: [ pkgs.libsecret ];
@ -24,6 +25,12 @@ appimageTools.wrapType2 rec {
--replace 'Exec=AppRun' 'Exec=${pname}'
'';
passthru.updateScript = gitUpdater {
url = "https://github.com/tutao/tutanota";
rev-prefix = "tutanota-desktop-release-";
allowedVersions = ".+\\.[0-9]{6}\\..+";
};
meta = with lib; {
description = "Tuta official desktop client";
homepage = "https://tuta.com/";