arc-browser: format with nixfmt-rfc-style

(cherry picked from commit ef9880fdd6)
This commit is contained in:
DontEatOreo 2024-10-21 16:21:37 +03:00 committed by github-actions[bot]
parent 6ca2882162
commit 3210a923e1

View File

@ -1,10 +1,11 @@
{ lib
, stdenvNoCC
, fetchurl
, undmg
, writeShellApplication
, curl
, common-updater-scripts
{
lib,
stdenvNoCC,
fetchurl,
undmg,
writeShellApplication,
curl,
common-updater-scripts,
}:
stdenvNoCC.mkDerivation (finalAttrs: {
@ -33,7 +34,10 @@ stdenvNoCC.mkDerivation (finalAttrs: {
passthru.updateScript = lib.getExe (writeShellApplication {
name = "arc-browser-update-script";
runtimeInputs = [ curl common-updater-scripts ];
runtimeInputs = [
curl
common-updater-scripts
];
text = ''
set -euo pipefail
redirect_url="$(curl -s -L -f "https://releases.arc.net/release/Arc-latest.dmg" -o /dev/null -w '%{url_effective}')"
@ -50,7 +54,10 @@ stdenvNoCC.mkDerivation (finalAttrs: {
homepage = "https://arc.net/";
license = lib.licenses.unfree;
maintainers = with lib.maintainers; [ donteatoreo ];
platforms = [ "aarch64-darwin" "x86_64-darwin" ];
platforms = [
"aarch64-darwin"
"x86_64-darwin"
];
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
};
})