thunderbird: rewrite
This is a large scale rework of the package, here's a change summary: * Organized inputs (1/line, except conditionals) * Introduced alsaSupport, pulseaudioSupport, waylandSupport * enableGTK3 -> gtk3Support * enableCalendar -> calendarSupport * Organized buildInputs, nativeBuildInputs (1/line) * Corrected native/buildInputs separation * Ported over fixes/changes from Firefox * Enabled sound, webp, vpx, rust-SIMD, necko-wifi * Removed manual wrapping * Lifted makeDesktopItem out of string section, into Nix * Correctly set bindgen options * Added lovesegfault as maintainer * New url which uses https This is non-authoritative, look at the diff for further info.
This commit is contained in:
parent
3d81015ac4
commit
8b8458ade5
|
@ -1,213 +1,339 @@
|
||||||
{ lib, stdenv, fetchurl, pkgconfig, gtk2, pango, perl, python2, python3, nodejs
|
{ autoconf213
|
||||||
, libIDL, libjpeg, zlib, dbus, dbus-glib, bzip2, xorg
|
, bzip2
|
||||||
, freetype, fontconfig, file, nspr, nss, libnotify
|
, cargo
|
||||||
, yasm, libGLU, libGL, sqlite, zip, unzip
|
, common-updater-scripts
|
||||||
, libevent, libstartup_notification
|
, coreutils
|
||||||
, icu, libpng, jemalloc
|
, curl
|
||||||
, autoconf213, which, m4, fetchpatch
|
, dbus
|
||||||
, writeScript, xidel, common-updater-scripts, coreutils, gnused, gnugrep, curl
|
, dbus-glib
|
||||||
|
, fetchurl
|
||||||
|
, file
|
||||||
|
, fontconfig
|
||||||
|
, freetype
|
||||||
|
, glib
|
||||||
|
, gnugrep
|
||||||
|
, gnused
|
||||||
|
, icu
|
||||||
|
, jemalloc
|
||||||
|
, lib
|
||||||
|
, libGL
|
||||||
|
, libGLU
|
||||||
|
, libIDL
|
||||||
|
, libevent
|
||||||
|
, libjpeg
|
||||||
|
, libnotify
|
||||||
|
, libpng
|
||||||
|
, libstartup_notification
|
||||||
|
, libvpx
|
||||||
|
, libwebp
|
||||||
|
, llvmPackages
|
||||||
|
, m4
|
||||||
|
, makeDesktopItem
|
||||||
|
, nasm
|
||||||
|
, nodejs
|
||||||
|
, nspr
|
||||||
|
, nss
|
||||||
|
, pango
|
||||||
|
, perl
|
||||||
|
, pkgconfig
|
||||||
|
, python2
|
||||||
|
, python3
|
||||||
, runtimeShell
|
, runtimeShell
|
||||||
, cargo, rustc, rust-cbindgen, llvmPackages, nasm
|
, rust-cbindgen
|
||||||
, enableGTK3 ? false, gtk3, gnome3, wrapGAppsHook, makeWrapper
|
, rustc
|
||||||
, enableCalendar ? true
|
, sqlite
|
||||||
|
, stdenv
|
||||||
|
, unzip
|
||||||
|
, which
|
||||||
|
, writeScript
|
||||||
|
, xidel
|
||||||
|
, xorg
|
||||||
|
, yasm
|
||||||
|
, zip
|
||||||
|
, zlib
|
||||||
|
|
||||||
, debugBuild ? false
|
, debugBuild ? false
|
||||||
|
|
||||||
|
, alsaSupport ? stdenv.isLinux, alsaLib
|
||||||
|
, pulseaudioSupport ? stdenv.isLinux, libpulseaudio
|
||||||
|
, gtk3Support ? true, gtk2, gtk3, wrapGAppsHook
|
||||||
|
, waylandSupport ? true
|
||||||
|
, libxkbcommon, calendarSupport ? true
|
||||||
|
|
||||||
, # If you want the resulting program to call itself "Thunderbird" instead
|
, # If you want the resulting program to call itself "Thunderbird" instead
|
||||||
# of "Earlybird" or whatever, enable this option. However, those
|
# of "Earlybird" or whatever, enable this option. However, those
|
||||||
# binaries may not be distributed without permission from the
|
# binaries may not be distributed without permission from the
|
||||||
# Mozilla Foundation, see
|
# Mozilla Foundation, see
|
||||||
# http://www.mozilla.org/foundation/trademarks/.
|
# http://www.mozilla.org/foundation/trademarks/.
|
||||||
enableOfficialBranding ? false
|
enableOfficialBranding ? false
|
||||||
, makeDesktopItem
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
assert waylandSupport -> gtk3Support == true;
|
||||||
wrapperTool = if enableGTK3 then wrapGAppsHook else makeWrapper;
|
|
||||||
gcc = if stdenv.cc.isGNU then stdenv.cc.cc else stdenv.cc.cc.gcc;
|
stdenv.mkDerivation rec {
|
||||||
in stdenv.mkDerivation rec {
|
|
||||||
pname = "thunderbird";
|
pname = "thunderbird";
|
||||||
version = "68.3.0";
|
version = "68.3.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://mozilla/thunderbird/releases/${version}/source/thunderbird-${version}.source.tar.xz";
|
url =
|
||||||
sha512 = "3aqr3dj5laws516k6jf8f35a1964p0s75sp682yy87xnzgd8m1iha55z79dcavis2ma9hiyacjnznjz04qhqd4q8swjgfg7lj8lyiwl";
|
"mirror://mozilla/thunderbird/releases/${version}/source/thunderbird-${version}.source.tar.xz";
|
||||||
|
sha512 =
|
||||||
|
"3aqr3dj5laws516k6jf8f35a1964p0s75sp682yy87xnzgd8m1iha55z79dcavis2ma9hiyacjnznjz04qhqd4q8swjgfg7lj8lyiwl";
|
||||||
};
|
};
|
||||||
|
|
||||||
# from firefox, but without sound libraries
|
nativeBuildInputs = [
|
||||||
buildInputs =
|
autoconf213
|
||||||
[ gtk2 zip libIDL libjpeg zlib bzip2
|
cargo
|
||||||
dbus dbus-glib pango freetype fontconfig xorg.libXi
|
gnused
|
||||||
xorg.libX11 xorg.libXrender xorg.libXft xorg.libXt file
|
llvmPackages.llvm
|
||||||
nspr nss libnotify xorg.pixman yasm libGLU libGL
|
m4
|
||||||
xorg.libXScrnSaver xorg.xorgproto
|
nasm
|
||||||
xorg.libXext sqlite unzip
|
nodejs
|
||||||
libevent libstartup_notification /* cairo */
|
perl
|
||||||
icu libpng jemalloc nasm
|
pkgconfig
|
||||||
]
|
python2
|
||||||
++ lib.optionals enableGTK3 [ gtk3 gnome3.adwaita-icon-theme ];
|
python3
|
||||||
|
rust-cbindgen
|
||||||
|
rustc
|
||||||
|
which
|
||||||
|
yasm
|
||||||
|
] ++ lib.optional gtk3Support wrapGAppsHook;
|
||||||
|
|
||||||
# from firefox + m4 + wrapperTool
|
buildInputs = [
|
||||||
# llvm is for llvm-objdump
|
bzip2
|
||||||
nativeBuildInputs = [ m4 autoconf213 which gnused pkgconfig perl python2 python3 nodejs wrapperTool cargo rustc rust-cbindgen llvmPackages.llvm ];
|
dbus
|
||||||
|
dbus-glib
|
||||||
|
file
|
||||||
|
fontconfig
|
||||||
|
freetype
|
||||||
|
glib
|
||||||
|
gtk2
|
||||||
|
icu
|
||||||
|
jemalloc
|
||||||
|
libGL
|
||||||
|
libGLU
|
||||||
|
libIDL
|
||||||
|
libevent
|
||||||
|
libjpeg
|
||||||
|
libnotify
|
||||||
|
libpng
|
||||||
|
libstartup_notification
|
||||||
|
libvpx
|
||||||
|
libwebp
|
||||||
|
nspr
|
||||||
|
nss
|
||||||
|
pango
|
||||||
|
perl
|
||||||
|
sqlite
|
||||||
|
unzip
|
||||||
|
xorg.libX11
|
||||||
|
xorg.libXScrnSaver
|
||||||
|
xorg.libXcursor
|
||||||
|
xorg.libXext
|
||||||
|
xorg.libXft
|
||||||
|
xorg.libXi
|
||||||
|
xorg.libXrender
|
||||||
|
xorg.libXt
|
||||||
|
xorg.pixman
|
||||||
|
xorg.xorgproto
|
||||||
|
zip
|
||||||
|
zlib
|
||||||
|
] ++ lib.optional alsaSupport alsaLib
|
||||||
|
++ lib.optional gtk3Support gtk3
|
||||||
|
++ lib.optional pulseaudioSupport libpulseaudio
|
||||||
|
++ lib.optional waylandSupport libxkbcommon;
|
||||||
|
|
||||||
|
NIX_CFLAGS_COMPILE =[
|
||||||
|
"-I${glib.dev}/include/gio-unix-2.0"
|
||||||
|
"-I${nss.dev}/include/nss"
|
||||||
|
];
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
# Remove buildconfig.html to prevent a dependency on clang etc.
|
|
||||||
./no-buildconfig.patch
|
./no-buildconfig.patch
|
||||||
]
|
];
|
||||||
++ lib.optional (lib.versionOlder version "69")
|
|
||||||
(fetchpatch { # https://bugzilla.mozilla.org/show_bug.cgi?id=1500436#c29
|
|
||||||
name = "write_error-parallel_make.diff";
|
|
||||||
url = "https://hg.mozilla.org/mozilla-central/raw-diff/562655fe/python/mozbuild/mozbuild/action/node.py";
|
|
||||||
sha256 = "11d7rgzinb4mwl7yzhidjkajynmxgmffr4l9isgskfapyax9p88y";
|
|
||||||
});
|
|
||||||
|
|
||||||
configureFlags =
|
postPatch = ''
|
||||||
[ # from firefox, but without sound libraries (alsa, libvpx, pulseaudio)
|
rm -rf obj-x86_64-pc-linux-gnu
|
||||||
|
'';
|
||||||
|
|
||||||
|
preConfigure = ''
|
||||||
|
# remove distributed configuration files
|
||||||
|
rm -f configure
|
||||||
|
rm -f js/src/configure
|
||||||
|
rm -f .mozconfig*
|
||||||
|
|
||||||
|
configureScript="$(realpath ./mach) configure"
|
||||||
|
# AS=as in the environment causes build failure https://bugzilla.mozilla.org/show_bug.cgi?id=1497286
|
||||||
|
unset AS
|
||||||
|
|
||||||
|
export MOZCONFIG=$(pwd)/mozconfig
|
||||||
|
|
||||||
|
# Set C flags for Rust's bindgen program. Unlike ordinary C
|
||||||
|
# compilation, bindgen does not invoke $CC directly. Instead it
|
||||||
|
# uses LLVM's libclang. To make sure all necessary flags are
|
||||||
|
# included we need to look in a few places.
|
||||||
|
# TODO: generalize this process for other use-cases.
|
||||||
|
|
||||||
|
BINDGEN_CFLAGS="$(< ${stdenv.cc}/nix-support/libc-cflags) \
|
||||||
|
$(< ${stdenv.cc}/nix-support/cc-cflags) \
|
||||||
|
${stdenv.cc.default_cxx_stdlib_compile} \
|
||||||
|
${
|
||||||
|
lib.optionalString stdenv.cc.isClang
|
||||||
|
"-idirafter ${stdenv.cc.cc}/lib/clang/${
|
||||||
|
lib.getVersion stdenv.cc.cc
|
||||||
|
}/include"
|
||||||
|
} \
|
||||||
|
${
|
||||||
|
lib.optionalString stdenv.cc.isGNU
|
||||||
|
"-isystem ${stdenv.cc.cc}/include/c++/${
|
||||||
|
lib.getVersion stdenv.cc.cc
|
||||||
|
} -isystem ${stdenv.cc.cc}/include/c++/${
|
||||||
|
lib.getVersion stdenv.cc.cc
|
||||||
|
}/$(cc -dumpmachine)"
|
||||||
|
} \
|
||||||
|
$NIX_CFLAGS_COMPILE"
|
||||||
|
|
||||||
|
echo "ac_add_options BINDGEN_CFLAGS='$BINDGEN_CFLAGS'" >> $MOZCONFIG
|
||||||
|
'';
|
||||||
|
|
||||||
|
configureFlags = let
|
||||||
|
toolkitSlug = if gtk3Support then
|
||||||
|
"3${lib.optionalString waylandSupport "-wayland"}"
|
||||||
|
else
|
||||||
|
"2";
|
||||||
|
toolkitValue = "cairo-gtk${toolkitSlug}";
|
||||||
|
in [
|
||||||
"--enable-application=comm/mail"
|
"--enable-application=comm/mail"
|
||||||
"--disable-alsa"
|
|
||||||
"--disable-pulseaudio"
|
|
||||||
|
|
||||||
"--with-system-jpeg"
|
|
||||||
"--with-system-zlib"
|
|
||||||
"--with-system-bz2"
|
"--with-system-bz2"
|
||||||
|
"--with-system-icu"
|
||||||
|
"--with-system-jpeg"
|
||||||
|
"--with-system-libevent"
|
||||||
"--with-system-nspr"
|
"--with-system-nspr"
|
||||||
"--with-system-nss"
|
"--with-system-nss"
|
||||||
"--with-system-libevent"
|
|
||||||
"--with-system-png" # needs APNG support
|
"--with-system-png" # needs APNG support
|
||||||
"--with-system-icu"
|
"--with-system-icu"
|
||||||
#"--enable-rust-simd" # not supported since rustc 1.32.0 -> 1.33.0; TODO: probably OK since 68.0.0
|
"--with-system-zlib"
|
||||||
|
"--with-system-webp"
|
||||||
|
"--with-system-libvpx"
|
||||||
|
|
||||||
|
"--enable-rust-simd"
|
||||||
|
"--enable-crashreporter"
|
||||||
|
"--enable-default-toolkit=${toolkitValue}"
|
||||||
|
"--enable-js-shell"
|
||||||
|
"--enable-necko-wifi"
|
||||||
|
"--enable-startup-notification"
|
||||||
"--enable-system-ffi"
|
"--enable-system-ffi"
|
||||||
"--enable-system-pixman"
|
"--enable-system-pixman"
|
||||||
"--enable-system-sqlite"
|
"--enable-system-sqlite"
|
||||||
#"--enable-system-cairo"
|
|
||||||
"--enable-startup-notification"
|
"--disable-gconf"
|
||||||
"--disable-crashreporter"
|
|
||||||
"--disable-tests"
|
"--disable-tests"
|
||||||
"--disable-necko-wifi" # maybe we want to enable this at some point
|
|
||||||
"--disable-updater"
|
"--disable-updater"
|
||||||
"--enable-jemalloc"
|
"--enable-jemalloc"
|
||||||
"--disable-gconf"
|
] ++ (if debugBuild then [
|
||||||
"--enable-default-toolkit=cairo-gtk${if enableGTK3 then "3" else "2"}"
|
"--enable-debug"
|
||||||
"--enable-js-shell"
|
"--enable-profiling"
|
||||||
]
|
] else [
|
||||||
++ lib.optional enableCalendar "--enable-calendar"
|
"--disable-debug"
|
||||||
++ (if debugBuild then [ "--enable-debug" "--enable-profiling"]
|
"--enable-release"
|
||||||
else [ "--disable-debug" "--enable-release"
|
|
||||||
"--disable-debug-symbols"
|
"--disable-debug-symbols"
|
||||||
"--enable-optimize" "--enable-strip" ])
|
"--enable-optimize"
|
||||||
++ lib.optional enableOfficialBranding "--enable-official-branding"
|
"--enable-strip"
|
||||||
++ lib.optionals (lib.versionAtLeast version "56" && !stdenv.hostPlatform.isi686) [
|
]) ++ lib.optionals (!stdenv.hostPlatform.isi686) [
|
||||||
# on i686-linux: --with-libclang-path is not available in this configuration
|
# on i686-linux: --with-libclang-path is not available in this configuration
|
||||||
"--with-libclang-path=${llvmPackages.libclang}/lib"
|
"--with-libclang-path=${llvmPackages.libclang}/lib"
|
||||||
"--with-clang-path=${llvmPackages.clang}/bin/clang"
|
"--with-clang-path=${llvmPackages.clang}/bin/clang"
|
||||||
];
|
] ++ lib.optional alsaSupport "--enable-alsa"
|
||||||
|
++ lib.optional calendarSupport "--enable-calendar"
|
||||||
|
++ lib.optional enableOfficialBranding "--enable-official-branding"
|
||||||
|
++ lib.optional pulseaudioSupport "--enable-pulseaudio";
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
preConfigure =
|
postConfigure = ''
|
||||||
''
|
cd obj-*
|
||||||
cxxLib=$( echo -n ${gcc}/include/c++/* )
|
|
||||||
archLib=$cxxLib/$( ${gcc}/bin/gcc -dumpmachine )
|
|
||||||
|
|
||||||
test -f layout/style/ServoBindings.toml && sed -i -e '/"-DRUST_BINDGEN"/ a , "-cxx-isystem", "'$cxxLib'", "-isystem", "'$archLib'"' layout/style/ServoBindings.toml
|
|
||||||
|
|
||||||
configureScript="$(realpath ./configure)"
|
|
||||||
mkdir ../objdir
|
|
||||||
cd ../objdir
|
|
||||||
|
|
||||||
# AS=as in the environment causes build failure https://bugzilla.mozilla.org/show_bug.cgi?id=1497286
|
|
||||||
unset AS
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
dontWrapGApps = true; # we do it ourselves
|
makeFlags = lib.optionals enableOfficialBranding [
|
||||||
postInstall =
|
"MOZILLA_OFFICIAL=1"
|
||||||
''
|
"BUILD_OFFICIAL=1"
|
||||||
# TODO: Move to a dev output?
|
];
|
||||||
rm -rf $out/include $out/lib/thunderbird-devel-* $out/share/idl
|
|
||||||
|
|
||||||
# $binary is a symlink to $target.
|
doCheck = false;
|
||||||
# We wrap $target by replacing the $binary symlink.
|
|
||||||
local target="$out/lib/thunderbird/thunderbird"
|
|
||||||
local binary="$out/bin/thunderbird"
|
|
||||||
|
|
||||||
# Wrap correctly, this is needed to
|
postInstall = let
|
||||||
# 1) find Mozilla runtime, because argv0 must be the real thing,
|
desktopItem = makeDesktopItem {
|
||||||
# or a symlink thereto. It cannot be the wrapper itself
|
categories = lib.concatStringsSep ";" [ "Application" "Network" ];
|
||||||
# 2) detect itself as the default mailreader across builds
|
desktopName = "Thunderbird";
|
||||||
gappsWrapperArgs+=(
|
genericName = "Mail Reader";
|
||||||
--argv0 "$target"
|
|
||||||
--set MOZ_APP_LAUNCHER thunderbird
|
|
||||||
# See commit 87e261843c4236c541ee0113988286f77d2fa1ee
|
|
||||||
--set MOZ_LEGACY_PROFILES 1
|
|
||||||
--set MOZ_ALLOW_DOWNGRADE 1
|
|
||||||
# https://github.com/NixOS/nixpkgs/pull/61980
|
|
||||||
--set SNAP_NAME "thunderbird"
|
|
||||||
)
|
|
||||||
${
|
|
||||||
# We wrap manually because wrapGAppsHook does not detect the symlink
|
|
||||||
# To mimic wrapGAppsHook, we run it with dontWrapGApps, so
|
|
||||||
# gappsWrapperArgs gets defined correctly
|
|
||||||
lib.optionalString enableGTK3 "wrapGAppsHook"
|
|
||||||
}
|
|
||||||
|
|
||||||
# "$binary" is a symlink, replace it by the wrapper
|
|
||||||
rm "$binary"
|
|
||||||
makeWrapper "$target" "$binary" "''${gappsWrapperArgs[@]}"
|
|
||||||
|
|
||||||
${ let desktopItem = makeDesktopItem {
|
|
||||||
name = "thunderbird";
|
name = "thunderbird";
|
||||||
exec = "thunderbird %U";
|
exec = "thunderbird %U";
|
||||||
desktopName = "Thunderbird";
|
|
||||||
icon = "$out/lib/thunderbird/chrome/icons/default/default256.png";
|
icon = "$out/lib/thunderbird/chrome/icons/default/default256.png";
|
||||||
genericName = "Mail Reader";
|
mimeType = lib.concatStringsSep ";" [
|
||||||
categories = "Application;Network";
|
|
||||||
mimeType = stdenv.lib.concatStringsSep ";" [
|
|
||||||
# Email
|
# Email
|
||||||
"x-scheme-handler/mailto"
|
"x-scheme-handler/mailto"
|
||||||
"message/rfc822"
|
"message/rfc822"
|
||||||
# Newsgroup
|
# Feeds
|
||||||
"x-scheme-handler/news"
|
|
||||||
"x-scheme-handler/snews"
|
|
||||||
"x-scheme-handler/nntp"
|
|
||||||
# Feed
|
|
||||||
"x-scheme-handler/feed"
|
"x-scheme-handler/feed"
|
||||||
"application/rss+xml"
|
"application/rss+xml"
|
||||||
"application/x-extension-rss"
|
"application/x-extension-rss"
|
||||||
|
# Newsgroups
|
||||||
|
"x-scheme-handler/news"
|
||||||
|
"x-scheme-handler/snews"
|
||||||
|
"x-scheme-handler/nntp"
|
||||||
];
|
];
|
||||||
}; in desktopItem.buildCommand
|
};
|
||||||
}
|
in ''
|
||||||
|
# TODO: Move to a dev output?
|
||||||
|
rm -rf $out/include $out/lib/thunderbird-devel-* $out/share/idl
|
||||||
|
|
||||||
|
${desktopItem.buildCommand}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
postFixup =
|
preFixup = ''
|
||||||
# Fix notifications. LibXUL uses dlopen for this, unfortunately; see #18712.
|
# Needed to find Mozilla runtime
|
||||||
''
|
gappsWrapperArgs+=(
|
||||||
patchelf --set-rpath "${lib.getLib libnotify
|
--argv0 "$out/bin/thunderbird"
|
||||||
}/lib:$(patchelf --print-rpath "$out"/lib/thunderbird*/libxul.so)" \
|
--set MOZ_APP_LAUNCHER thunderbird
|
||||||
"$out"/lib/thunderbird*/libxul.so
|
# https://github.com/NixOS/nixpkgs/pull/61980
|
||||||
|
--set SNAP_NAME "thunderbird"
|
||||||
|
--set MOZ_LEGACY_PROFILES 1
|
||||||
|
--set MOZ_ALLOW_DOWNGRADE 1
|
||||||
|
)
|
||||||
|
'';
|
||||||
|
|
||||||
|
# FIXME: This can probably be removed as soon as we package a
|
||||||
|
# Thunderbird >=71.0 since XUL shouldn't be anymore (in use)?
|
||||||
|
postFixup = ''
|
||||||
|
local xul="$out/lib/thunderbird/libxul.so"
|
||||||
|
patchelf --set-rpath "${libnotify}/lib:$(patchelf --print-rpath $xul)" $xul
|
||||||
'';
|
'';
|
||||||
|
|
||||||
doInstallCheck = true;
|
doInstallCheck = true;
|
||||||
installCheckPhase =
|
installCheckPhase = ''
|
||||||
''
|
|
||||||
# Some basic testing
|
|
||||||
"$out/bin/thunderbird" --version
|
"$out/bin/thunderbird" --version
|
||||||
'';
|
'';
|
||||||
|
|
||||||
disallowedRequisites = [ stdenv.cc ];
|
disallowedRequisites = [
|
||||||
|
stdenv.cc
|
||||||
meta = with stdenv.lib; {
|
];
|
||||||
description = "A full-featured e-mail client";
|
|
||||||
homepage = http://www.mozilla.org/thunderbird/;
|
|
||||||
license =
|
|
||||||
# Official branding implies thunderbird name and logo cannot be reuse,
|
|
||||||
# see http://www.mozilla.org/foundation/licensing.html
|
|
||||||
if enableOfficialBranding then licenses.proprietary else licenses.mpl11;
|
|
||||||
maintainers = [ maintainers.pierron maintainers.eelco ];
|
|
||||||
platforms = platforms.linux;
|
|
||||||
};
|
|
||||||
|
|
||||||
passthru.updateScript = import ./../../browsers/firefox/update.nix {
|
passthru.updateScript = import ./../../browsers/firefox/update.nix {
|
||||||
attrPath = "thunderbird";
|
attrPath = "thunderbird";
|
||||||
baseUrl = "http://archive.mozilla.org/pub/thunderbird/releases/";
|
baseUrl = "http://archive.mozilla.org/pub/thunderbird/releases/";
|
||||||
inherit writeScript lib common-updater-scripts xidel coreutils gnused gnugrep curl runtimeShell;
|
inherit writeScript lib common-updater-scripts xidel coreutils gnused
|
||||||
|
gnugrep curl runtimeShell;
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "A full-featured e-mail client";
|
||||||
|
homepage = "https://www.thunderbird.net";
|
||||||
|
maintainers = with maintainers; [
|
||||||
|
eelco
|
||||||
|
lovesegfault
|
||||||
|
pierron
|
||||||
|
];
|
||||||
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -21491,7 +21491,7 @@ in
|
||||||
inherit (gnome2) libIDL;
|
inherit (gnome2) libIDL;
|
||||||
inherit (rustPackages_1_38_0) cargo rustc;
|
inherit (rustPackages_1_38_0) cargo rustc;
|
||||||
libpng = libpng_apng;
|
libpng = libpng_apng;
|
||||||
enableGTK3 = true;
|
gtk3Support = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
thunderbolt = callPackage ../os-specific/linux/thunderbolt {};
|
thunderbolt = callPackage ../os-specific/linux/thunderbolt {};
|
||||||
|
|
Loading…
Reference in New Issue