Skip to content

Commit

Permalink
thunderbird: add -latest and -esr flavors
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
booxter committed Oct 31, 2024
1 parent 031b2f0 commit ca448b2
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
7 changes: 7 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit ca448b2

Please sign in to comment.