Running nixpkgs-update (https://nix-community.org/update-bot/) with UPDATE_INFO: thunderbird 153.1.1 -> 154.0 https://repology.org/project/thunderbird/versions attrpath: thunderbird Checking auto update branch... No auto update branch exists Old version 153.1.1" not present in master derivation file with contents: { stdenv, lib, buildMozillaMach, callPackage, fetchurl, fetchpatch2, config, }: let common = { version, sha512, updateScript, applicationName ? "Thunderbird", }: (buildMozillaMach rec { pname = "thunderbird"; inherit version updateScript applicationName; application = "comm/mail"; binaryName = "thunderbird"; src = fetchurl { url = "mirror://mozilla/thunderbird/releases/${version}/source/thunderbird-${version}.source.tar.xz"; inherit sha512; }; extraPatches = [ # The file to be patched is different from firefox's `no-buildconfig-ffx90.patch`. (if lib.versionOlder version "140" then ./no-buildconfig.patch else ./no-buildconfig-tb140.patch) ] ++ lib.optional (lib.versionAtLeast version "154" && lib.versionOlder version "154.0.1") (fetchpatch2 { # Fix Success macros colliding: https://bugzilla.mozilla.org/show_bug.cgi?id=2065007 url = "https://github.com/mozilla-firefox/firefox/commit/f0b76eba072821d62e74ebdbd8da9243a2ce3b84.patch"; hash = "sha256-PCTmv1ZO7ce4q5fp+WPmy5Wga5OMY4hNzqIZ7iYCcp4="; }); # FIXME: let's hope that upstream will fix this soon and we can drop this hack again. # https://bugzilla.mozilla.org/show_bug.cgi?id=2040877 extraPostPatch = lib.optionalString (lib.versionAtLeast version "151" && lib.versionOlder version "152") '' echo https://hg.mozilla.org/releases/comm-release/rev/becfb8fb2c70f1603882a2787e2170d5d8013949 >> sourcestamp.txt echo https://hg.mozilla.org/releases/mozilla-release/rev/fc12dc911f904307729760a817deb829cbf8feb4 >> sourcestamp.txt '' # https://bugzilla.mozilla.org/show_bug.cgi?id=2006630 + lib.optionalString (lib.versionAtLeast version "140.8" && lib.versionOlder version "151") '' find . -name .cargo-checksum.json | xargs sed 's/"[^"]*\.gitmodules":"[a-z0-9]*",//g' -i ''; meta = { changelog = "https://www.thunderbird.net/en-US/thunderbird/${version}/releasenotes/"; description = "Full-featured e-mail client"; homepage = "https://www.thunderbird.net/"; donationPage = "https://www.thunderbird.net/donate/"; mainProgram = "thunderbird"; maintainers = with lib.maintainers; [ booxter # darwin lovesegfault pierron vcunat ]; platforms = lib.platforms.unix; 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 = lib.licenses.mpl20; }; }).override ( { geolocationSupport = false; webrtcSupport = false; pgoSupport = false; # console.warn: feeds: "downloadFeed: network connection unavailable" } // lib.optionalAttrs (lib.versionAtLeast version "149") { # https://bugzilla.mozilla.org/show_bug.cgi?id=2025767 crashreporterSupport = false; } ); in rec { thunderbird = thunderbird-latest; thunderbird-latest = common { version = "154.0"; sha512 = "aebdc5f0f4788124128a77b8a329767fa0f6d1d46c41ca6fd45889368e4e964a7a82a41f5367e825da0d544eff61d4da07dff2e6eb13f72c935bed79a184c5a8"; updateScript = callPackage ./update.nix { attrPath = "thunderbirdPackages.thunderbird-latest"; }; }; # Eventually, switch to an updateScript without versionPrefix hardcoded... thunderbird-esr = thunderbird-153; thunderbird-153 = common { applicationName = "Thunderbird ESR"; version = "153.1.0esr"; sha512 = "3d6c82e1489b906e6cf73c3eeb7d7e23de6901a75c704176b996d183a889f24275214999155992789a57a713e6cd073e2752120c3b281136ed34f36f289fbcb4"; updateScript = callPackage ./update.nix { attrPath = "thunderbirdPackages.thunderbird-153"; versionPrefix = "153"; versionSuffix = "esr"; }; }; thunderbird-140 = common { applicationName = "Thunderbird ESR"; version = "140.14.0esr"; sha512 = "4c95b1ca3fc7f6429b2360a7e732635bdfb60927622a7da4d8af9ca2abd550611b91763c587cddad5d51c0dd4e905ba8e106da3cd21591a1bec3dba1b9a2502d"; updateScript = callPackage ./update.nix { attrPath = "thunderbirdPackages.thunderbird-140"; versionPrefix = "140"; versionSuffix = "esr"; }; }; } // lib.optionalAttrs config.allowAliases { thunderbird-102 = throw "Thunderbird 102 support ended in September 2023"; thunderbird-115 = throw "Thunderbird 115 support ended in October 2024"; thunderbird-128 = throw "Thunderbird 128 support ended in August 2025"; }