Files
nixpkgs/pkgs/applications/networking/mailreaders/thunderbird/91/default.nix
T
2021-08-29 13:32:53 +09:00

35 lines
1.2 KiB
Nix

{ stdenv, lib, callPackage, fetchurl }:
callPackage (import ../../../browsers/firefox/common.nix rec {
pname = "thunderbird";
ffversion = "91.0.2";
application = "comm/mail";
binaryName = pname;
src = fetchurl {
url = "mirror://mozilla/thunderbird/releases/${ffversion}/source/thunderbird-${ffversion}.source.tar.xz";
sha512 = "468be2f5024fd32eb22a661ed5f30de5d74231ee736e6743a9fb84e747bf45fceaaf286a5cbb20eb41f8ab98e0c56310eab3d2e6077fd81ee0ef52b28c33a3f2";
};
patches = [
./no-buildconfig-90.patch
];
meta = with lib; {
description = "A full-featured e-mail client";
homepage = "https://thunderbird.net/";
maintainers = with maintainers; [ eelco lovesegfault pierron vcunat ];
platforms = platforms.unix;
badPlatforms = platforms.darwin;
broken = stdenv.buildPlatform.is32bit; # since Firefox 60, build on 32-bit platforms fails with "out of memory".
# not in `badPlatforms` because cross-compilation on 64-bit machine might work.
license = licenses.mpl20;
};
updateScript = callPackage ./update.nix {
attrPath = "thunderbird-unwrapped-91";
versionKey = "ffversion";
};
}) {
webrtcSupport = false;
geolocationSupport = false;
}