Add firefox-esr
This commit is contained in:
parent
e27c796b51
commit
a536eda82e
@ -16,14 +16,14 @@
|
|||||||
|
|
||||||
assert stdenv.cc ? libc && stdenv.cc.libc != null;
|
assert stdenv.cc ? libc && stdenv.cc.libc != null;
|
||||||
|
|
||||||
let version = "40.0.3"; in
|
let
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
common = { pname, version, sha1 }: stdenv.mkDerivation rec {
|
||||||
name = "firefox-${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 = "http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/${version}/source/firefox-${version}.source.tar.bz2";
|
||||||
sha1 = "6ddda46bd6540ab3ae932fbb5ffec8e9a85cab13";
|
inherit sha1;
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = if !enableGTK3 then null else [(fetchpatch {
|
patches = if !enableGTK3 then null else [(fetchpatch {
|
||||||
@ -91,7 +91,7 @@ stdenv.mkDerivation rec {
|
|||||||
''
|
''
|
||||||
mkdir ../objdir
|
mkdir ../objdir
|
||||||
cd ../objdir
|
cd ../objdir
|
||||||
configureScript=../mozilla-release/configure
|
configureScript=../mozilla-*/configure
|
||||||
'';
|
'';
|
||||||
|
|
||||||
preInstall =
|
preInstall =
|
||||||
@ -121,7 +121,7 @@ stdenv.mkDerivation rec {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Web browser";
|
description = "A web browser" + lib.optionalString (pname == "firefox-esr") " (Extended Support Release)";
|
||||||
homepage = http://www.mozilla.com/en-US/firefox/;
|
homepage = http://www.mozilla.com/en-US/firefox/;
|
||||||
maintainers = with lib.maintainers; [ eelco ];
|
maintainers = with lib.maintainers; [ eelco ];
|
||||||
platforms = lib.platforms.linux;
|
platforms = lib.platforms.linux;
|
||||||
@ -131,4 +131,20 @@ stdenv.mkDerivation rec {
|
|||||||
inherit gtk nspr version;
|
inherit gtk nspr version;
|
||||||
isFirefox3Like = true;
|
isFirefox3Like = true;
|
||||||
};
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
in {
|
||||||
|
|
||||||
|
firefox = common {
|
||||||
|
pname = "firefox";
|
||||||
|
version = "40.0.3";
|
||||||
|
sha1 = "6ddda46bd6540ab3ae932fbb5ffec8e9a85cab13";
|
||||||
|
};
|
||||||
|
|
||||||
|
firefox-esr = common {
|
||||||
|
pname = "firefox-esr";
|
||||||
|
version = "38.2.1esr";
|
||||||
|
sha1 = "c596174e7273be5079bf55aecde33ec191d99538";
|
||||||
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -11527,14 +11527,15 @@ let
|
|||||||
|
|
||||||
filezilla = callPackage ../applications/networking/ftp/filezilla { };
|
filezilla = callPackage ../applications/networking/ftp/filezilla { };
|
||||||
|
|
||||||
firefox = callPackage ../applications/networking/browsers/firefox {
|
inherit (callPackages ../applications/networking/browsers/firefox {
|
||||||
inherit (gnome) libIDL;
|
inherit (gnome) libIDL;
|
||||||
inherit (pythonPackages) pysqlite;
|
inherit (pythonPackages) pysqlite;
|
||||||
libpng = libpng_apng;
|
libpng = libpng_apng;
|
||||||
enableGTK3 = false;
|
enableGTK3 = false;
|
||||||
};
|
}) firefox firefox-esr;
|
||||||
|
|
||||||
firefoxWrapper = wrapFirefox { browser = pkgs.firefox; };
|
firefox-wrapper = wrapFirefox { browser = pkgs.firefox; };
|
||||||
|
firefox-esr-wrapper = wrapFirefox { browser = pkgs.firefox-esr; };
|
||||||
|
|
||||||
firefox-bin = callPackage ../applications/networking/browsers/firefox-bin {
|
firefox-bin = callPackage ../applications/networking/browsers/firefox-bin {
|
||||||
gconf = pkgs.gnome.GConf;
|
gconf = pkgs.gnome.GConf;
|
||||||
@ -15331,6 +15332,7 @@ let
|
|||||||
cheetahTemplate = pythonPackages.cheetah; # 2015-06-15
|
cheetahTemplate = pythonPackages.cheetah; # 2015-06-15
|
||||||
clangAnalyzer = clang-analyzer; # added 2015-02-20
|
clangAnalyzer = clang-analyzer; # added 2015-02-20
|
||||||
cool-old-term = cool-retro-term; # added 2015-01-31
|
cool-old-term = cool-retro-term; # added 2015-01-31
|
||||||
|
firefoxWrapper = firefox-wrapper;
|
||||||
haskell-ng = haskell; # 2015-04-19
|
haskell-ng = haskell; # 2015-04-19
|
||||||
haskellngPackages = haskellPackages; # 2015-04-19
|
haskellngPackages = haskellPackages; # 2015-04-19
|
||||||
htmlTidy = html-tidy; # added 2014-12-06
|
htmlTidy = html-tidy; # added 2014-12-06
|
||||||
|
Loading…
x
Reference in New Issue
Block a user