summaryrefslogtreecommitdiffstats
path: root/pkgs
diff options
context:
space:
mode:
authorVladimír Čunát <v@cunat.cz>2024-05-12 12:14:08 +0200
committerGitHub <noreply@github.com>2024-05-12 12:14:08 +0200
commit45946fbf0fa452d874f92095552a1a7888fd6d73 (patch)
tree8f90f6e5bd265c0993f8bac0645bd2e0138f6277 /pkgs
parent9ea77891fda9dc4b9de9cfe2df865d4f8f620999 (diff)
thunderbirdPackages.thunderbird-102: convert to a `throw` (#308820)
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/applications/networking/mailreaders/thunderbird/packages.nix45
1 files changed, 5 insertions, 40 deletions
diff --git a/pkgs/applications/networking/mailreaders/thunderbird/packages.nix b/pkgs/applications/networking/mailreaders/thunderbird/packages.nix
index 5a55476d4b9e..4c4c6ef1df6c 100644
--- a/pkgs/applications/networking/mailreaders/thunderbird/packages.nix
+++ b/pkgs/applications/networking/mailreaders/thunderbird/packages.nix
@@ -1,47 +1,8 @@
-{ stdenv, lib, buildMozillaMach, callPackage, fetchurl, fetchpatch, nixosTests, icu, fetchpatch2 }:
+{ stdenv, lib, buildMozillaMach, callPackage, fetchurl, fetchpatch, nixosTests, icu, fetchpatch2, config }:
rec {
thunderbird = thunderbird-115;
- thunderbird-102 = (buildMozillaMach rec {
- pname = "thunderbird";
- version = "102.14.0";
- application = "comm/mail";
- applicationName = "Mozilla Thunderbird";
- binaryName = pname;
- src = fetchurl {
- url = "mirror://mozilla/thunderbird/releases/${version}/source/thunderbird-${version}.source.tar.xz";
- hash = "sha512-SuPyFoM67FVCH4J9VbwbX8LwrU/v7LJ3JKW+MxjDUd8k0wpIl7kk5zPtLjmVvihLbRNQSdRgARQ/sclh/vwYMA==";
- };
- extraPatches = [
- # The file to be patched is different from firefox's `no-buildconfig-ffx90.patch`.
- ./no-buildconfig.patch
- ];
-
- meta = with lib; {
- changelog = "https://www.thunderbird.net/en-US/thunderbird/${version}/releasenotes/";
- description = "A full-featured e-mail client";
- homepage = "https://thunderbird.net/";
- mainProgram = "thunderbird";
- 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;
- knownVulnerabilities = [ "Thunderbird 102 support has ended" ];
- };
- updateScript = callPackage ./update.nix {
- attrPath = "thunderbird-unwrapped";
- versionPrefix = "102";
- };
- }).override {
- geolocationSupport = false;
- webrtcSupport = false;
-
- pgoSupport = false; # console.warn: feeds: "downloadFeed: network connection unavailable"
- };
-
thunderbird-115 = (buildMozillaMach rec {
pname = "thunderbird";
version = "115.10.1";
@@ -91,3 +52,7 @@ rec {
});
};
}
+ // lib.optionalAttrs config.allowAliases {
+ thunderbird-102 = throw "Thunderbird 102 support ended in September 2023";
+}
+