Change:
On November 13th Palemoon 28.2.0 was released with very important security updates: This browser has an integrated update checker which is complaining repeatedly about the security update (which is good!) Install palemoon, wait a few minutes, a pop-up window raises asking to update palemoon. system: host os: multi-user?: sandbox: version: channels(user): nixpkgs:

Discussion:
{ stdenv, fetchFromGitHub, makeDesktopItem , pkgconfig, autoconf213, alsaLib, bzip2, cairo <del> , dbus, dbus-glib, file, fontconfig, freetype , gstreamer, gst-plugins-base, gst_all_1 , gtk2, hunspell, icu, libevent, libjpeg, libnotify , libstartup_notification, libvpx, makeWrapper, libGLU_combined , nspr, nss, pango, perl, python, libpulseaudio, sqlite , unzip, xorg, which, yasm, zip, zlib </del> <ins> , dbus, dbus-glib, ffmpeg, file, fontconfig, freetype , gnome2, gnum4, gtk2, hunspell, libevent, libjpeg , libnotify, libstartup_notification, makeWrapper , libGLU_combined, perl, python, libpulseaudio , unzip, xorg, wget, which, yasm, zip, zlib </ins> }: <del> stdenv.mkDerivation rec { name = "palemoon-${version}"; version = "27.9.4"; </del> <ins> let libPath = stdenv.lib.makeLibraryPath [ ffmpeg ]; in stdenv.mkDerivation rec { pname = "palemoon"; version = "28.6.0.1"; </ins> src = fetchFromGitHub { <del> name   = "palemoon-src"; </del> <ins> name   = "${pname}-${version}"; </ins> owner  = "MoonchildProductions"; <del> repo   = "Pale-Moon"; rev    = version + "_Release"; sha256 = "0ir5gzhw98gfn15x58g1fwi11jd7gysvacqxg1v0jdjhgdl4m5sx"; </del> <ins> repo   = "UXP"; rev    = "PM${version}_Release"; sha256 = "1adgajy5vsghvjlv2nqyrbp6mnv3k6slqxxi8r949xlb5h6d210b"; </ins> }; desktopItem = makeDesktopItem {

}; buildInputs = [ <del> alsaLib bzip2 cairo dbus dbus-glib file fontconfig freetype gst-plugins-base gstreamer gst_all_1.gst-plugins-base gtk2 hunspell icu libevent libjpeg libnotify libstartup_notification libvpx makeWrapper libGLU_combined nspr nss pango perl pkgconfig python libpulseaudio sqlite unzip which yasm zip zlib </del> <ins> alsaLib bzip2 cairo dbus dbus-glib ffmpeg file fontconfig freetype gnome2.GConf gnum4 gtk2 hunspell libevent libjpeg libnotify libstartup_notification makeWrapper libGLU_combined perl pkgconfig python libpulseaudio unzip wget which yasm zip zlib </ins> ] ++ (with xorg; [ libX11 libXext libXft libXi libXrender libXScrnSaver libXt pixman xorgproto

enableParallelBuilding = true; configurePhase = '' <del> export AUTOCONF=${autoconf213}/bin/autoconf export MOZBUILD_STATE_PATH=$(pwd)/.mozbuild export MOZ_CONFIG=$(pwd)/.mozconfig export builddir=$(pwd)/build mkdir -p $MOZBUILD_STATE_PATH $builddir echo > $MOZ_CONFIG " . $src/build/mozconfig.common ac_add_options --prefix=$out ac_add_options --with-pthreads ac_add_options --enable-application=browser </del> <ins> export MOZBUILD_STATE_PATH=$(pwd)/mozbuild export MOZCONFIG=$(pwd)/mozconfig export builddir=$(pwd)/pmbuild echo > $MOZCONFIG " mk_add_options AUTOCLOBBER=1 mk_add_options MOZ_OBJDIR=$builddir ac_add_options --enable-application=palemoon ac_add_options --enable-optimize='-O2' # Please see https://www.palemoon.org/redist.shtml for restrictions when using the official branding. </ins> ac_add_options --enable-official-branding <del> ac_add_options --enable-optimize="-O2" ac_add_options --enable-release ac_add_options --enable-devtools </del> <ins> export MOZILLA_OFFICIAL=1 ac_add_options --enable-default-toolkit=cairo-gtk2 </ins> ac_add_options --enable-jemalloc <del> ac_add_options --enable-shared-js </del> ac_add_options --enable-strip <ins> ac_add_options --with-pthreads </ins> ac_add_options --disable-tests <del> ac_add_options --disable-installer ac_add_options --disable-updaters " ''; </del> <ins> ac_add_options --disable-eme ac_add_options --disable-parental-controls ac_add_options --disable-accessibility ac_add_options --disable-webrtc ac_add_options --disable-gamepad ac_add_options --disable-necko-wifi ac_add_options --disable-updater ac_add_options --x-libraries=${xorg.libX11.out}/lib </ins> <del> patchPhase = '' chmod u+w . </del> <ins> ac_add_options --prefix=$out mk_add_options MOZ_MAKE_FLAGS='-j$NIX_BUILD_CORES' mk_add_options AUTOCONF=${autoconf213}/bin/autoconf " </ins> ''; hardeningDisable = [ "format" ]; buildPhase = '' <del> cd $builddir </del> $src/mach build ''; installPhase = '' <ins> $src/mach install </ins> mkdir -p $out/share/applications cp ${desktopItem}/share/applications/* $out/share/applications for n in 16 22 24 32 48 256; do size=$n"x"$n mkdir -p $out/share/icons/hicolor/$size/apps <del> cp $src/browser/branding/official/default$n.png  </del> <ins> cp $src/application/palemoon/branding/official/default$n.png  </ins> $out/share/icons/hicolor/$size/apps/palemoon.png done <del> cd $builddir $src/mach install </del> <ins> wrapProgram $out/lib/palemoon-${version}/palemoon  --prefix LD_LIBRARY_PATH : "${libPath}" </ins> ''; meta = with stdenv.lib; { <del> description = "A web browser"; </del> <ins> description = "An Open Source, Goanna-based web browser focusing on efficiency and customization"; </ins> longDescription = '' Pale Moon is an Open Source, Goanna-based web browser focusing on efficiency and customization.

experience, while offering full customization and a growing collection of extensions and themes to make the browser truly your own. ''; <del> homepage    = https://www.palemoon.org/; </del> <ins> homepage    = "https://www.palemoon.org/"; </ins> license     = licenses.mpl20; <del> maintainers = with maintainers; [ rnhmjoj AndersonTorres ]; platforms   = platforms.linux; </del> <ins> maintainers = with maintainers; [ rnhmjoj AndersonTorres OPNA2608 ]; platforms   = [ "i686-linux" "x86_64-linux" ]; </ins> }; }