thunderbird: add -latest and -esr flavors

The default `thunderbird` derivation will continue pointing to the
(latest) -esr release. The new `thunderbird-latest` derivation will
track non-esr releases (currently 132.0). The existing `thunderbird-128`
derivation is intact.
This commit is contained in:
Ihar Hrachyshka 2024-10-30 18:20:44 -04:00
parent 031b2f0a77
commit ca448b2788
2 changed files with 21 additions and 1 deletions

View File

@ -53,7 +53,20 @@ let
};
in rec {
thunderbird = thunderbird-128;
# Upstream claims -latest is "for testing purposes only". Stick to -esr until this changes.
thunderbird = thunderbird-esr;
thunderbird-latest = common {
version = "132.0";
sha512 = "71206606d691e3b257b4b163e56604eaff221a43f88015fcbdbbbb3bbd708a7459f61b0470f7534ce9adafd41561e11b3487484fbfe3e95a06674785cae97029";
updateScript = callPackage ./update.nix {
attrPath = "thunderbirdPackages.thunderbird-latest";
};
};
# Eventually, switch to an updateScript without versionPrefix hardcoded...
thunderbird-esr = thunderbird-128;
thunderbird-128 = common {
version = "128.4.0esr";

View File

@ -32693,6 +32693,13 @@ with pkgs;
thunderbird-unwrapped = thunderbirdPackages.thunderbird;
thunderbird = wrapThunderbird thunderbird-unwrapped { };
thunderbird-latest-unwrapped = thunderbirdPackages.thunderbird-latest;
thunderbird-latest = wrapThunderbird thunderbird-latest-unwrapped { };
thunderbird-esr-unwrapped = thunderbirdPackages.thunderbird-esr;
thunderbird-esr = wrapThunderbird thunderbird-esr-unwrapped { };
thunderbird-128-unwrapped = thunderbirdPackages.thunderbird-128;
thunderbird-128 = wrapThunderbird thunderbirdPackages.thunderbird-128 { };
thunderbird-bin = wrapThunderbird thunderbird-bin-unwrapped {