Skip to content

Commit

Permalink
tutanota-desktop: 235.240718.0 -> 250.241025.0 (NixOS#349778)
Browse files Browse the repository at this point in the history
  • Loading branch information
jopejoe1 authored Oct 31, 2024
2 parents 1ff00d3 + 6d97eb7 commit 81bc750
Showing 1 changed file with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -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 ];
Expand All @@ -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/";
Expand Down

0 comments on commit 81bc750

Please sign in to comment.