mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-08 14:03:29 +00:00
114 lines
5.2 KiB
Nix
114 lines
5.2 KiB
Nix
{ stdenv, lib, callPackage, fetchurl, fetchpatch, nixosTests, buildMozillaMach }:
|
|
|
|
{
|
|
firefox = buildMozillaMach rec {
|
|
pname = "firefox";
|
|
version = "113.0.1";
|
|
src = fetchurl {
|
|
url = "mirror://mozilla/firefox/releases/${version}/source/firefox-${version}.source.tar.xz";
|
|
sha512 = "67d6b777d138ef55dd813a15a483d0588181f3b83ba8da52bf6c1f10a58ab1d907a80afcfc1aa90b65405852b50d083f05032b32d3fdb153317f2df7f1f15db3";
|
|
};
|
|
|
|
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;
|
|
};
|
|
tests = [ nixosTests.firefox ];
|
|
updateScript = callPackage ./update.nix {
|
|
attrPath = "firefox-unwrapped";
|
|
};
|
|
};
|
|
|
|
firefox-beta = buildMozillaMach rec {
|
|
pname = "firefox-beta";
|
|
version = "114.0b6";
|
|
applicationName = "Mozilla Firefox Beta";
|
|
src = fetchurl {
|
|
url = "mirror://mozilla/firefox/releases/${version}/source/firefox-${version}.source.tar.xz";
|
|
sha512 = "50127c640e0cb617ca031df022a09df8bba7dd44e9b88b034d9c9276d1adcec17a937d80ab3e540433290e8f78982a405b7281724713f43c36e5e266df721854";
|
|
};
|
|
|
|
meta = {
|
|
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;
|
|
};
|
|
tests = [ nixosTests.firefox-beta ];
|
|
updateScript = callPackage ./update.nix {
|
|
attrPath = "firefox-beta-unwrapped";
|
|
versionSuffix = "b[0-9]*";
|
|
};
|
|
};
|
|
|
|
firefox-devedition = buildMozillaMach rec {
|
|
pname = "firefox-devedition";
|
|
version = "113.0b9";
|
|
applicationName = "Mozilla Firefox Developer Edition";
|
|
branding = "browser/branding/aurora";
|
|
src = fetchurl {
|
|
url = "mirror://mozilla/devedition/releases/${version}/source/firefox-${version}.source.tar.xz";
|
|
sha512 = "193b4b96dd3dfe9d95dc11ddc089a433a6fa4aff5d55d8294ff638dccacdd141b0977f9d87b7cb6c4f4f64af22166a517f2e751fee7059cd7e77ddb8ea977466";
|
|
};
|
|
|
|
meta = {
|
|
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;
|
|
};
|
|
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-102 = buildMozillaMach rec {
|
|
pname = "firefox-esr-102";
|
|
version = "102.11.0esr";
|
|
applicationName = "Mozilla Firefox ESR";
|
|
src = fetchurl {
|
|
url = "mirror://mozilla/firefox/releases/${version}/source/firefox-${version}.source.tar.xz";
|
|
sha512 = "fdfed404c87f33001c0ab50f9899fa80c897fac645be8ed832e426f412aafbf1468b1c8301bad463b3f5535b6d6f2005a96a748b6e2d6bf5afbc3b5bc10983d6";
|
|
};
|
|
|
|
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;
|
|
};
|
|
tests = [ nixosTests.firefox-esr-102 ];
|
|
updateScript = callPackage ./update.nix {
|
|
attrPath = "firefox-esr-102-unwrapped";
|
|
versionPrefix = "102";
|
|
versionSuffix = "esr";
|
|
};
|
|
};
|
|
}
|