76 lines
3.0 KiB
Nix
76 lines
3.0 KiB
Nix
{ stdenv, lib, buildMozillaMach, callPackage, fetchurl, fetchpatch, nixosTests }:
|
|
|
|
rec {
|
|
thunderbird = thunderbird-102;
|
|
thunderbird-91 = (buildMozillaMach rec {
|
|
pname = "thunderbird";
|
|
version = "91.11.0";
|
|
application = "comm/mail";
|
|
applicationName = "Mozilla Thunderbird";
|
|
binaryName = pname;
|
|
src = fetchurl {
|
|
url = "mirror://mozilla/thunderbird/releases/${version}/source/thunderbird-${version}.source.tar.xz";
|
|
sha512 = "26b9242259b71eb14ddadffb34a59d07d515bbbc0cb806eed965a73b001ee81b3b1128d06cfdf3e50d5da4ef97be21d11193be34a582d3c9f27f27d2f97d90d2";
|
|
};
|
|
extraPatches = [
|
|
# The file to be patched is different from firefox's `no-buildconfig-ffx90.patch`.
|
|
./no-buildconfig.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-91-unwrapped";
|
|
versionPrefix = "91";
|
|
};
|
|
}).override {
|
|
geolocationSupport = false;
|
|
webrtcSupport = false;
|
|
|
|
pgoSupport = false; # console.warn: feeds: "downloadFeed: network connection unavailable"
|
|
};
|
|
thunderbird-102 = (buildMozillaMach rec {
|
|
pname = "thunderbird";
|
|
version = "102.0.1";
|
|
application = "comm/mail";
|
|
applicationName = "Mozilla Thunderbird";
|
|
binaryName = pname;
|
|
src = fetchurl {
|
|
url = "mirror://mozilla/thunderbird/releases/${version}/source/thunderbird-${version}.source.tar.xz";
|
|
sha512 = "72e6ac7946d8bdcee1a46a321c1226fb88facc299cf01f63b139e7e84a4692284cb20e615c5f9a6da12c974a17e2deb548dde48a77d56b1850f71bdcedb137d8";
|
|
};
|
|
extraPatches = [
|
|
# The file to be patched is different from firefox's `no-buildconfig-ffx90.patch`.
|
|
./no-buildconfig.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";
|
|
versionPrefix = "102";
|
|
};
|
|
}).override {
|
|
geolocationSupport = false;
|
|
webrtcSupport = false;
|
|
|
|
pgoSupport = false; # console.warn: feeds: "downloadFeed: network connection unavailable"
|
|
};
|
|
}
|