nixpkgs/pkgs/applications/networking/browsers/librewolf/default.nix
Andrew Marshall fa7b5cc939 librewolf-unwrapped: add owners
Since the bot does not seem to pick up maintainers for changes to e.g.
`src.json` and so manual review is needed. This should resolve that.
2025-05-30 20:40:27 -04:00

54 lines
1.4 KiB
Nix

{
stdenv,
lib,
callPackage,
buildMozillaMach,
nixosTests,
}:
let
librewolf-src = callPackage ./librewolf.nix { };
in
(buildMozillaMach {
pname = "librewolf";
applicationName = "LibreWolf";
binaryName = "librewolf";
version = librewolf-src.packageVersion;
src = librewolf-src.firefox;
requireSigning = false;
allowAddonSideload = true;
branding = "browser/branding/librewolf";
inherit (librewolf-src)
extraConfigureFlags
extraPatches
extraPostPatch
extraPassthru
;
meta = {
description = "Fork of Firefox, focused on privacy, security and freedom";
homepage = "https://librewolf.net/";
maintainers = with lib.maintainers; [
# Also update ci/OWNERS entry when changing maintainers
squalus
dwrege
fpletz
grimmauld
];
platforms = lib.platforms.unix;
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 = "librewolf";
};
tests = { inherit (nixosTests) librewolf; };
updateScript = callPackage ./update.nix {
attrPath = "librewolf-unwrapped";
};
}).override
{
crashreporterSupport = false;
enableOfficialBranding = false;
}