mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-19 20:23:02 +00:00
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.3";
|
|
application = "comm/mail";
|
|
applicationName = "Mozilla Thunderbird";
|
|
binaryName = pname;
|
|
src = fetchurl {
|
|
url = "mirror://mozilla/thunderbird/releases/${version}/source/thunderbird-${version}.source.tar.xz";
|
|
sha512 = "ac9f22935ef558890c95cf7fbbbe32a5bb1b7140acb10088ed0d037d1ca5c6e11695c131eb40844807003b77e83b1dd2d9008df420ec394fed5008d5c4c6c3cb";
|
|
};
|
|
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"
|
|
};
|
|
}
|