Commit ca448b27 authored by Ihar Hrachyshka's avatar Ihar Hrachyshka
Browse files

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.
parent 031b2f0a
Loading
Loading
Loading
Loading
+14 −1
Original line number Diff line number Diff line
@@ -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";
+7 −0
Original line number Diff line number Diff line
@@ -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 {