mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
Merge pull request #260246 from christoph-heiss/new/floorp
floorp: init at 11.5.0
This commit is contained in:
commit
2e09b8e5af
4 changed files with 57 additions and 2 deletions
|
@ -289,6 +289,7 @@ in {
|
||||||
firewall-nftables = handleTest ./firewall.nix { nftables = true; };
|
firewall-nftables = handleTest ./firewall.nix { nftables = true; };
|
||||||
fish = handleTest ./fish.nix {};
|
fish = handleTest ./fish.nix {};
|
||||||
flannel = handleTestOn ["x86_64-linux"] ./flannel.nix {};
|
flannel = handleTestOn ["x86_64-linux"] ./flannel.nix {};
|
||||||
|
floorp = handleTest ./firefox.nix { firefoxPackage = pkgs.floorp; };
|
||||||
fluentd = handleTest ./fluentd.nix {};
|
fluentd = handleTest ./fluentd.nix {};
|
||||||
fluidd = handleTest ./fluidd.nix {};
|
fluidd = handleTest ./fluidd.nix {};
|
||||||
fontconfig-default-fonts = handleTest ./fontconfig-default-fonts.nix {};
|
fontconfig-default-fonts = handleTest ./fontconfig-default-fonts.nix {};
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
{ pname
|
{ pname
|
||||||
, version
|
, version
|
||||||
|
, packageVersion ? version
|
||||||
, meta
|
, meta
|
||||||
, updateScript ? null
|
, updateScript ? null
|
||||||
, binaryName ? "firefox"
|
, binaryName ? "firefox"
|
||||||
|
@ -206,7 +207,7 @@ in
|
||||||
|
|
||||||
buildStdenv.mkDerivation {
|
buildStdenv.mkDerivation {
|
||||||
pname = "${pname}-unwrapped";
|
pname = "${pname}-unwrapped";
|
||||||
inherit version;
|
version = packageVersion;
|
||||||
|
|
||||||
inherit src unpackPhase meta;
|
inherit src unpackPhase meta;
|
||||||
|
|
||||||
|
@ -557,7 +558,6 @@ buildStdenv.mkDerivation {
|
||||||
passthru = {
|
passthru = {
|
||||||
inherit application extraPatches;
|
inherit application extraPatches;
|
||||||
inherit updateScript;
|
inherit updateScript;
|
||||||
inherit version;
|
|
||||||
inherit alsaSupport;
|
inherit alsaSupport;
|
||||||
inherit binaryName;
|
inherit binaryName;
|
||||||
inherit jackSupport;
|
inherit jackSupport;
|
||||||
|
@ -569,6 +569,7 @@ buildStdenv.mkDerivation {
|
||||||
inherit tests;
|
inherit tests;
|
||||||
inherit gtk3;
|
inherit gtk3;
|
||||||
inherit wasiSysRoot;
|
inherit wasiSysRoot;
|
||||||
|
version = packageVersion;
|
||||||
} // extraPassthru;
|
} // extraPassthru;
|
||||||
|
|
||||||
hardeningDisable = [ "format" ]; # -Werror=format-security
|
hardeningDisable = [ "format" ]; # -Werror=format-security
|
||||||
|
|
49
pkgs/applications/networking/browsers/floorp/default.nix
Normal file
49
pkgs/applications/networking/browsers/floorp/default.nix
Normal file
|
@ -0,0 +1,49 @@
|
||||||
|
{ stdenv
|
||||||
|
, lib
|
||||||
|
, fetchFromGitHub
|
||||||
|
, buildMozillaMach
|
||||||
|
, nixosTests
|
||||||
|
}:
|
||||||
|
|
||||||
|
((buildMozillaMach rec {
|
||||||
|
pname = "floorp";
|
||||||
|
packageVersion = "11.5.0";
|
||||||
|
applicationName = "Floorp";
|
||||||
|
binaryName = "floorp";
|
||||||
|
version = "155.4.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "Floorp-Projects";
|
||||||
|
repo = "Floorp";
|
||||||
|
fetchSubmodules = true;
|
||||||
|
rev = "v${packageVersion}";
|
||||||
|
hash = "sha256-adK3LAu3cDh6d+GvtnkWmSnxansnSZoIgtA9TAqIMyA=";
|
||||||
|
};
|
||||||
|
|
||||||
|
extraConfigureFlags = [
|
||||||
|
"--with-app-name=${pname}"
|
||||||
|
"--with-app-basename=${applicationName}"
|
||||||
|
"--with-branding=browser/branding/official"
|
||||||
|
"--with-distribution-id=app.floorp.Floorp"
|
||||||
|
"--with-unsigned-addon-scopes=app,system"
|
||||||
|
"--allow-addon-sideload"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "A fork of Firefox, focused on keeping the Open, Private and Sustainable Web alive, built in Japan";
|
||||||
|
homepage = "https://floorp.app/";
|
||||||
|
maintainers = with lib.maintainers; [ christoph-heiss ];
|
||||||
|
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.floorp ];
|
||||||
|
}).override {
|
||||||
|
privacySupport = true;
|
||||||
|
enableOfficialBranding = false;
|
||||||
|
}).overrideAttrs (prev: {
|
||||||
|
MOZ_REQUIRE_SIGNING = "";
|
||||||
|
})
|
|
@ -31944,6 +31944,10 @@ with pkgs;
|
||||||
|
|
||||||
flex-ndax = callPackage ../applications/radio/flex-ndax { };
|
flex-ndax = callPackage ../applications/radio/flex-ndax { };
|
||||||
|
|
||||||
|
floorp-unwrapped = callPackage ../applications/networking/browsers/floorp { };
|
||||||
|
|
||||||
|
floorp = wrapFirefox floorp-unwrapped { };
|
||||||
|
|
||||||
fluxbox = callPackage ../applications/window-managers/fluxbox { };
|
fluxbox = callPackage ../applications/window-managers/fluxbox { };
|
||||||
|
|
||||||
hackedbox = callPackage ../applications/window-managers/hackedbox { };
|
hackedbox = callPackage ../applications/window-managers/hackedbox { };
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue