124 lines
5.6 KiB
Nix
124 lines
5.6 KiB
Nix
{ stdenv, lib, callPackage, fetchurl, fetchpatch, nixosTests, buildMozillaMach }:
|
|
|
|
{
|
|
firefox = buildMozillaMach rec {
|
|
pname = "firefox";
|
|
version = "125.0.2";
|
|
src = fetchurl {
|
|
url = "mirror://mozilla/firefox/releases/${version}/source/firefox-${version}.source.tar.xz";
|
|
sha512 = "f6d5fff7c5c532d2e41a246d0403bdd746981cfcb7c43f9d3d8ec85a7acc3310a52043d1e18848475cef1b63c24769e81b2b06d68ae007b68016ee51436032f1";
|
|
};
|
|
|
|
extraPatches = [
|
|
];
|
|
|
|
meta = {
|
|
changelog = "https://www.mozilla.org/en-US/firefox/${version}/releasenotes/";
|
|
description = "A web browser built from Firefox source tree";
|
|
homepage = "http://www.mozilla.com/en-US/firefox/";
|
|
maintainers = with lib.maintainers; [ lovesegfault hexa ];
|
|
platforms = lib.platforms.unix;
|
|
badPlatforms = lib.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.
|
|
maxSilent = 14400; # 4h, double the default of 7200s (c.f. #129212, #129115)
|
|
license = lib.licenses.mpl20;
|
|
mainProgram = "firefox";
|
|
};
|
|
tests = [ nixosTests.firefox ];
|
|
updateScript = callPackage ./update.nix {
|
|
attrPath = "firefox-unwrapped";
|
|
};
|
|
};
|
|
|
|
firefox-beta = buildMozillaMach rec {
|
|
pname = "firefox-beta";
|
|
version = "125.0b9";
|
|
applicationName = "Mozilla Firefox Beta";
|
|
src = fetchurl {
|
|
url = "mirror://mozilla/firefox/releases/${version}/source/firefox-${version}.source.tar.xz";
|
|
sha512 = "66d1b27355c105714b926b5424badc01582e5ad7e979104d05fa50748ea961c7f1e081b88978fb94aee54ed281931b8d0f0bb0e16670cf89e7f10703711e7f4e";
|
|
};
|
|
|
|
meta = {
|
|
changelog = "https://www.mozilla.org/en-US/firefox/${lib.versions.majorMinor version}beta/releasenotes/";
|
|
description = "A web browser built from Firefox Beta Release source tree";
|
|
homepage = "http://www.mozilla.com/en-US/firefox/";
|
|
maintainers = with lib.maintainers; [ jopejoe1 ];
|
|
platforms = lib.platforms.unix;
|
|
badPlatforms = lib.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.
|
|
maxSilent = 14400; # 4h, double the default of 7200s (c.f. #129212, #129115)
|
|
license = lib.licenses.mpl20;
|
|
mainProgram = "firefox";
|
|
};
|
|
tests = [ nixosTests.firefox-beta ];
|
|
updateScript = callPackage ./update.nix {
|
|
attrPath = "firefox-beta-unwrapped";
|
|
versionSuffix = "b[0-9]*";
|
|
};
|
|
};
|
|
|
|
firefox-devedition = buildMozillaMach rec {
|
|
pname = "firefox-devedition";
|
|
version = "125.0b9";
|
|
applicationName = "Mozilla Firefox Developer Edition";
|
|
requireSigning = false;
|
|
branding = "browser/branding/aurora";
|
|
src = fetchurl {
|
|
url = "mirror://mozilla/devedition/releases/${version}/source/firefox-${version}.source.tar.xz";
|
|
sha512 = "a000d1ad29a6a83af6bb424d9b5099667b93907041ebcf8f18b22a2045f4d0f0292db3b331c33b30d142ee6feb58386cedcae356c79d2c5e31fc7a571af2b63c";
|
|
};
|
|
|
|
meta = {
|
|
changelog = "https://www.mozilla.org/en-US/firefox/${lib.versions.majorMinor version}beta/releasenotes/";
|
|
description = "A web browser built from Firefox Developer Edition source tree";
|
|
homepage = "http://www.mozilla.com/en-US/firefox/";
|
|
maintainers = with lib.maintainers; [ jopejoe1 ];
|
|
platforms = lib.platforms.unix;
|
|
badPlatforms = lib.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.
|
|
maxSilent = 14400; # 4h, double the default of 7200s (c.f. #129212, #129115)
|
|
license = lib.licenses.mpl20;
|
|
mainProgram = "firefox";
|
|
};
|
|
tests = [ nixosTests.firefox-devedition ];
|
|
updateScript = callPackage ./update.nix {
|
|
attrPath = "firefox-devedition-unwrapped";
|
|
versionSuffix = "b[0-9]*";
|
|
baseUrl = "https://archive.mozilla.org/pub/devedition/releases/";
|
|
};
|
|
};
|
|
|
|
firefox-esr-115 = buildMozillaMach rec {
|
|
pname = "firefox-esr-115";
|
|
version = "115.10.0esr";
|
|
applicationName = "Mozilla Firefox ESR";
|
|
src = fetchurl {
|
|
url = "mirror://mozilla/firefox/releases/${version}/source/firefox-${version}.source.tar.xz";
|
|
sha512 = "0626e2c68ce43f24dfc2b9216e2565537ad8781daf4195d53420e1b78d57d0f6360fbe56b0ddbedae3818546c72472c85c1ff2b208c123d32a0543e666f42b65";
|
|
};
|
|
|
|
meta = {
|
|
changelog = "https://www.mozilla.org/en-US/firefox/${lib.removeSuffix "esr" version}/releasenotes/";
|
|
description = "A web browser built from Firefox Extended Support Release source tree";
|
|
homepage = "http://www.mozilla.com/en-US/firefox/";
|
|
maintainers = with lib.maintainers; [ hexa ];
|
|
platforms = lib.platforms.unix;
|
|
badPlatforms = lib.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 = lib.licenses.mpl20;
|
|
mainProgram = "firefox";
|
|
};
|
|
tests = [ nixosTests.firefox-esr-115 ];
|
|
updateScript = callPackage ./update.nix {
|
|
attrPath = "firefox-esr-115-unwrapped";
|
|
versionPrefix = "115";
|
|
versionSuffix = "esr";
|
|
};
|
|
};
|
|
}
|