2021-07-13 18:13:53 +01:00
|
|
|
{ stdenv, lib, callPackage, fetchurl, fetchpatch, nixosTests }:
|
|
|
|
|
|
|
|
let
|
|
|
|
common = opts: callPackage (import ../../browsers/firefox/common.nix opts) {
|
|
|
|
webrtcSupport = false;
|
|
|
|
geolocationSupport = false;
|
|
|
|
};
|
|
|
|
in
|
|
|
|
|
|
|
|
rec {
|
|
|
|
thunderbird = common rec {
|
2021-07-13 18:15:12 +01:00
|
|
|
pname = "thunderbird";
|
2022-02-09 08:14:44 +00:00
|
|
|
version = "91.6.0";
|
2021-07-13 18:15:12 +01:00
|
|
|
application = "comm/mail";
|
|
|
|
binaryName = pname;
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://mozilla/thunderbird/releases/${version}/source/thunderbird-${version}.source.tar.xz";
|
2022-02-09 08:14:44 +00:00
|
|
|
sha512 = "a11eafe1390141ee3508eea06ba8ab135d0725513977a3b37b3b35f413a1f825dc14fef530b9ac961840804be59291c7f5cba3c93b12726605d4a7255660f749";
|
2021-07-13 18:15:12 +01:00
|
|
|
};
|
|
|
|
patches = [
|
2021-11-19 09:04:01 +00:00
|
|
|
# The file to be patched is different from firefox's `no-buildconfig-ffx90.patch`.
|
|
|
|
./no-buildconfig.patch
|
2021-07-13 18:15:12 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
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";
|
|
|
|
};
|
|
|
|
};
|
2021-07-13 18:13:53 +01:00
|
|
|
}
|