mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
67 lines
2.4 KiB
Nix
67 lines
2.4 KiB
Nix
{ stdenv, lib, callPackage, fetchurl, fetchpatch, nixosTests }:
|
|
|
|
let
|
|
common = opts: callPackage (import ../../browsers/firefox/common.nix opts) {
|
|
webrtcSupport = false;
|
|
geolocationSupport = false;
|
|
};
|
|
in
|
|
|
|
rec {
|
|
thunderbird = common rec {
|
|
pname = "thunderbird";
|
|
version = "91.0.1";
|
|
application = "comm/mail";
|
|
binaryName = pname;
|
|
src = fetchurl {
|
|
url = "mirror://mozilla/thunderbird/releases/${version}/source/thunderbird-${version}.source.tar.xz";
|
|
sha512 = "54e1f3233c544cf28302496512aaf2a5fb5486aab070680e82cefbdd1d12a33867c638ced61e43958bae47e40ff551592a2cf4d537f98c22ed1df31c5d5bb09c";
|
|
};
|
|
patches = [
|
|
./no-buildconfig-90.patch
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "A full-featured e-mail client";
|
|
homepage = "https://thunderbird.net/";
|
|
maintainers = with maintainers; [ eelco lovesegfault pierron vcunat ];
|
|
platforms = platforms.unix;
|
|
badPlatforms = platforms.darwin;
|
|
broken = stdenv.buildPlatform.is32bit; # since Firefox 60, build on 32-bit platforms fails with "out of memory".
|
|
# not in `badPlatforms` because cross-compilation on 64-bit machine might work.
|
|
license = licenses.mpl20;
|
|
};
|
|
updateScript = callPackage ./update.nix {
|
|
attrPath = "thunderbird-unwrapped";
|
|
};
|
|
};
|
|
|
|
thunderbird-78 = common rec {
|
|
pname = "thunderbird";
|
|
version = "78.13.0";
|
|
application = "comm/mail";
|
|
binaryName = pname;
|
|
src = fetchurl {
|
|
url = "mirror://mozilla/thunderbird/releases/${version}/source/thunderbird-${version}.source.tar.xz";
|
|
sha512 = "daee9ea9e57bdfce231a35029807f279a06f8790d71efc8998c78eb42d99a93cf98623170947df99202da038f949ba9111a7ff7adbd43c161794deb6791370a0";
|
|
};
|
|
patches = [
|
|
./no-buildconfig-78.patch
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "A full-featured e-mail client";
|
|
homepage = "https://thunderbird.net/";
|
|
maintainers = with maintainers; [ eelco lovesegfault pierron vcunat ];
|
|
platforms = platforms.unix;
|
|
badPlatforms = platforms.darwin;
|
|
broken = stdenv.buildPlatform.is32bit; # since Firefox 60, build on 32-bit platforms fails with "out of memory".
|
|
# not in `badPlatforms` because cross-compilation on 64-bit machine might work.
|
|
license = licenses.mpl20;
|
|
};
|
|
updateScript = callPackage ./update.nix {
|
|
attrPath = "thunderbird-78-unwrapped";
|
|
};
|
|
};
|
|
}
|