thunderbird: 31.7.0 -> 38.1.0

taku0 f059656e e16be46b

+9 -3
+9 -3
pkgs/applications/networking/mailreaders/thunderbird/default.nix
··· 13 13 enableOfficialBranding ? false 14 14 }: 15 15 16 - let version = "31.7.0"; in 16 + let version = "38.1.0"; in 17 17 let verName = "${version}"; in 18 18 19 19 stdenv.mkDerivation rec { 20 20 name = "thunderbird-${verName}"; 21 21 22 22 src = fetchurl { 23 - url = "ftp://ftp.mozilla.org/pub/thunderbird/releases/${verName}/source/thunderbird-${verName}.source.tar.bz2"; 24 - sha1 = "90e18f8ecccdaf1ee39493223a7e3ad8b3b7bede"; 23 + url = "http://archive.mozilla.org/pub/thunderbird/releases/${verName}/source/thunderbird-${verName}.source.tar.bz2"; 24 + 25 + # https://archive.mozilla.org/pub/thunderbird/releases/${verName}/SHA1SUMS 26 + sha1 = "7bb0c85e889e397e53dcbcbd36957dbd7c8c10bd"; 25 27 }; 26 28 27 29 buildInputs = # from firefox30Pkgs.xulrunner, but without gstreamer and libvpx ··· 75 77 cd objdir 76 78 echo '${stdenv.lib.concatMapStrings (s : "ac_add_options ${s}\n") configureFlags}' > .mozconfig 77 79 echo 'ac_add_options --prefix="'"$out"'"' >> .mozconfig 80 + # From version 38, we need to specify the source directory to build 81 + # Thunderbird. Refer to mozilla/configure and search a line with 82 + # "checking for application to build" and "# Support comm-central". 83 + echo 'ac_add_options --with-external-source-dir="'`realpath ..`'"' >> .mozconfig 78 84 echo 'mk_add_options MOZ_MAKE_FLAGS="-j'"$NIX_BUILD_CORES"'"' >> .mozconfig 79 85 echo 'mk_add_options MOZ_OBJDIR="'`pwd`'"' >> .mozconfig 80 86