Unverified Commit 81bc750c authored by jopejoe1's avatar jopejoe1 Committed by GitHub
Browse files

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

parents 1ff00d33 6d97eb71
Loading
Loading
Loading
Loading
+9 −2
Original line number Diff line number Diff line
{ 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/";