Running nixpkgs-update (https://nix-community.org/update-bot/) with UPDATE_INFO: floorp-bin 12.17.0 -> 12.17.1 https://repology.org/project/floorp-bin/versions attrpath: floorp-bin Checking auto update branch... No auto update branch exists Old version 12.17.0" not present in master derivation file with contents: { lib, stdenv, fetchurl, wrapGAppsHook3, autoPatchelfHook, alsa-lib, curl, dbus-glib, gtk3, libxtst, libva, pciutils, pipewire, adwaita-icon-theme, patchelfUnstable, # have to use patchelfUnstable to support --no-clobber-old-sections undmg, writeText, }: let inherit (lib.importJSON ./sources.json) version sources; binaryName = "floorp"; policies = { DisableAppUpdate = true; }; policiesJson = writeText "floorp-policies.json" (builtins.toJSON { inherit policies; }); in stdenv.mkDerivation (finalAttrs: { pname = "floorp-bin-unwrapped"; inherit version; src = fetchurl { inherit (sources.${stdenv.hostPlatform.system}) url sha256; }; sourceRoot = lib.optional stdenv.hostPlatform.isDarwin "."; nativeBuildInputs = [ wrapGAppsHook3 ] ++ lib.optionals (!stdenv.hostPlatform.isDarwin) [ autoPatchelfHook patchelfUnstable ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ undmg ]; buildInputs = lib.optionals (!stdenv.hostPlatform.isDarwin) [ gtk3 adwaita-icon-theme alsa-lib dbus-glib libxtst ]; runtimeDependencies = [ curl pciutils ] ++ lib.optionals (!stdenv.hostPlatform.isDarwin) [ libva.out ]; appendRunpaths = lib.optionals (!stdenv.hostPlatform.isDarwin) [ "${pipewire}/lib" ]; # Firefox uses "relrhack" to manually process relocations from a fixed offset patchelfFlags = [ "--no-clobber-old-sections" ]; # don't break code signing dontFixup = stdenv.hostPlatform.isDarwin; installPhase = '' runHook preInstall '' + ( if stdenv.hostPlatform.isDarwin then '' # it's disabled, so remove these unused files rm -v \ Floorp.app/Contents/Resources/updater.ini \ Floorp.app/Contents/Library/LaunchServices/org.mozilla.updater rm -rvf Floorp.app/Contents/MacOS/updater.app mkdir -p $out/Applications mv Floorp.app $out/Applications/ '' else '' # it's disabled, so remove these unused files rm -v updater icons/updater.png updater.ini update-settings.ini mkdir -p "$prefix/lib" "$prefix/bin" cp -r . "$prefix/lib/floorp-bin-${finalAttrs.version}" ln -s "$prefix/lib/floorp-bin-${finalAttrs.version}/floorp" "$out/bin/${binaryName}" # See: https://github.com/mozilla/policy-templates/blob/master/README.md mkdir -p "$out/lib/floorp-bin-${finalAttrs.version}/distribution"; ln -s ${policiesJson} "$out/lib/floorp-bin-${finalAttrs.version}/distribution/policies.json"; '' ) + '' runHook postInstall ''; passthru = { inherit binaryName; applicationName = "Floorp"; libName = "floorp-bin-${finalAttrs.version}"; withFFmpeg = true; withGSSAPI = true; gtk3 = gtk3; updateScript = ./update.sh; }; meta = { changelog = "https://blog.floorp.app/en/release/${finalAttrs.version}/"; description = "Fork of Firefox that seeks balance between versatility, privacy and web openness"; homepage = "https://floorp.app/"; # https://github.com/Floorp-Projects/Floorp#-floorp-license-notices- license = with lib.licenses; [ mpl20 mit ]; platforms = builtins.attrNames sources; hydraPlatforms = [ ]; maintainers = with lib.maintainers; [ christoph-heiss ]; mainProgram = "floorp"; sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ]; }; })