firefox: Update to 41.0

This commit is contained in:
Eelco Dolstra 2015-09-22 20:03:52 +02:00
parent 4bcbfb33f8
commit f46fe7b909

View File

@ -22,7 +22,9 @@ common = { pname, version, sha1 }: stdenv.mkDerivation rec {
name = "${pname}-${version}"; name = "${pname}-${version}";
src = fetchurl { src = fetchurl {
url = "http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/${version}/source/firefox-${version}.source.tar.bz2"; url =
let ext = if lib.versionAtLeast version "41.0" then "xz" else "bz2";
in "http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/${version}/source/firefox-${version}.source.tar.${ext}";
inherit sha1; inherit sha1;
}; };
@ -77,6 +79,7 @@ common = { pname, version, sha1 }: stdenv.mkDerivation rec {
"--disable-installer" "--disable-installer"
"--disable-updater" "--disable-updater"
"--enable-jemalloc" "--enable-jemalloc"
"--disable-gconf"
] ]
++ lib.optional enableGTK3 "--enable-default-toolkit=cairo-gtk3" ++ lib.optional enableGTK3 "--enable-default-toolkit=cairo-gtk3"
++ (if debugBuild then [ "--enable-debug" "--enable-profiling" ] ++ (if debugBuild then [ "--enable-debug" "--enable-profiling" ]
@ -137,8 +140,8 @@ in {
firefox = common { firefox = common {
pname = "firefox"; pname = "firefox";
version = "40.0.3"; version = "41.0";
sha1 = "6ddda46bd6540ab3ae932fbb5ffec8e9a85cab13"; sha1 = "0ce7a5ccdf671a6c98eaac07d06d49a895a99449";
}; };
firefox-esr = common { firefox-esr = common {