mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 18:23:09 +00:00
tutanota-desktop: init at 3.88.4
This commit is contained in:
parent
1214888655
commit
51ee27ca87
@ -0,0 +1,35 @@
|
|||||||
|
{ lib, fetchurl, appimageTools }:
|
||||||
|
|
||||||
|
let
|
||||||
|
pname = "tutanota-desktop";
|
||||||
|
version = "3.88.4";
|
||||||
|
name = "tutanota-desktop-${version}";
|
||||||
|
src = fetchurl {
|
||||||
|
url = "https://mail.tutanota.com/desktop/tutanota-desktop-linux.AppImage";
|
||||||
|
name = "tutanota-desktop-${version}.AppImage";
|
||||||
|
sha256 = "sha256-MwvH6SGZwcvxAr5olklqKTF2p2pv8+F5qwpmwN3uZkc=";
|
||||||
|
};
|
||||||
|
appimageContents = appimageTools.extractType2 { inherit name src; };
|
||||||
|
|
||||||
|
in appimageTools.wrapType2 {
|
||||||
|
inherit name src;
|
||||||
|
|
||||||
|
extraPkgs = pkgs: (appimageTools.defaultFhsEnvArgs.multiPkgs pkgs) ++ [ pkgs.libsecret ];
|
||||||
|
|
||||||
|
extraInstallCommands = ''
|
||||||
|
mv $out/bin/${name} $out/bin/${pname}
|
||||||
|
|
||||||
|
install -m 444 -D ${appimageContents}/tutanota-desktop.desktop -t $out/share/applications
|
||||||
|
substituteInPlace $out/share/applications/tutanota-desktop.desktop \
|
||||||
|
--replace 'Exec=AppRun' 'Exec=${pname}'
|
||||||
|
cp -r ${appimageContents}/usr/share/icons $out/share
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Tutanota official desktop client";
|
||||||
|
homepage = "https://tutanota.com/";
|
||||||
|
license = licenses.gpl3Only;
|
||||||
|
maintainers = with maintainers; [ wolfangaukang ];
|
||||||
|
platforms = [ "x86_64-linux" ];
|
||||||
|
};
|
||||||
|
}
|
@ -9838,6 +9838,8 @@ with pkgs;
|
|||||||
|
|
||||||
turses = callPackage ../applications/networking/instant-messengers/turses { };
|
turses = callPackage ../applications/networking/instant-messengers/turses { };
|
||||||
|
|
||||||
|
tutanota-desktop = callPackage ../applications/networking/mailreaders/tutanota-desktop { };
|
||||||
|
|
||||||
tv = callPackage ../tools/text/tv { };
|
tv = callPackage ../tools/text/tv { };
|
||||||
|
|
||||||
tvm = callPackage ../development/compilers/tvm { };
|
tvm = callPackage ../development/compilers/tvm { };
|
||||||
|
Loading…
Reference in New Issue
Block a user