Skip to content

Commit 5c9a8a3

Browse files
authored
thunderbird-bin: add 137.0.2 as thunderbird-latest-bin (#390091)
2 parents 8fcb7a4 + 289994c commit 5c9a8a3

File tree

5 files changed

+1872
-272
lines changed

5 files changed

+1872
-272
lines changed

pkgs/applications/networking/browsers/firefox-bin/update.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ writeScript "update-${pname}" ''
9494
}
9595
EOF
9696
97-
mv $tmpfile ${channel}_sources.nix
97+
mv $tmpfile ${channel}${if versionSuffix == "" then "" else "_${versionSuffix}"}_sources.nix
9898
9999
popd
100100
''

pkgs/applications/networking/mailreaders/thunderbird-bin/default.nix

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
# To update `thunderbird-bin`'s `release_sources.nix`, run from the nixpkgs root:
44
#
55
# nix-shell maintainers/scripts/update.nix --argstr package pkgs.thunderbird-bin-unwrapped
6+
# nix-shell maintainers/scripts/update.nix --argstr package pkgs.thunderbird-esr-bin-unwrapped
67
{
78
lib,
89
stdenv,
@@ -24,6 +25,7 @@
2425
systemLocale ? config.i18n.defaultLocale or "en_US",
2526
patchelfUnstable, # have to use patchelfUnstable to support --no-clobber-old-sections
2627
generated,
28+
versionSuffix ? "",
2729
applicationName ? "Thunderbird",
2830
}:
2931

@@ -63,8 +65,7 @@ stdenv.mkDerivation {
6365
inherit pname version;
6466

6567
src = fetchurl {
66-
url = "https://download-installer.cdn.mozilla.net/pub/thunderbird/releases/${version}/${source.arch}/${source.locale}/thunderbird-${version}.tar.bz2";
67-
inherit (source) sha256;
68+
inherit (source) url sha256;
6869
};
6970

7071
nativeBuildInputs = [
@@ -112,12 +113,12 @@ stdenv.mkDerivation {
112113
curl
113114
gnupg
114115
runtimeShell
116+
versionSuffix
115117
;
116118
baseName = "thunderbird";
117119
channel = "release";
118120
basePath = "pkgs/applications/networking/mailreaders/thunderbird-bin";
119121
baseUrl = "http://archive.mozilla.org/pub/thunderbird/releases/";
120-
versionSuffix = "esr";
121122
};
122123

123124
passthru = {

0 commit comments

Comments
 (0)