diff --git a/nixos/modules/module-list.nix b/nixos/modules/module-list.nix index a1c6cedf8a41..de6172266d5e 100644 --- a/nixos/modules/module-list.nix +++ b/nixos/modules/module-list.nix @@ -1861,6 +1861,7 @@ ./services/web-servers/nginx/tailscale-auth.nix ./services/web-servers/phpfpm/default.nix ./services/web-servers/pomerium.nix + ./services/web-servers/rustfs.nix ./services/web-servers/rustus.nix ./services/web-servers/send.nix ./services/web-servers/stargazer.nix diff --git a/nixos/modules/services/web-servers/rustfs.nix b/nixos/modules/services/web-servers/rustfs.nix new file mode 100644 index 000000000000..675a6314426b --- /dev/null +++ b/nixos/modules/services/web-servers/rustfs.nix @@ -0,0 +1,151 @@ +{ + config, + lib, + pkgs, + ... +}: + +let + cfg = config.services.rustfs; +in +{ + meta.maintainers = with lib.maintainers; [ + marcel + ]; + + options.services.rustfs = { + enable = lib.mkEnableOption "RustFS Object Storage Server"; + + package = lib.mkPackageOption pkgs "rustfs" { }; + + user = lib.mkOption { + type = lib.types.str; + default = "rustfs"; + description = "The user RustFS should run as."; + }; + + group = lib.mkOption { + type = lib.types.str; + default = "rustfs"; + description = "The group RustFS should run as."; + }; + + settings = lib.mkOption { + default = { }; + description = '' + Options for RustFS configuration. Refer to + + for details on supported values. + ''; + example = lib.literalExpression '' + { + RUSTFS_CONSOLE_ENABLE = "true"; + RUSTFS_VOLUMES = "/mnt/rustfs"; + } + ''; + type = lib.types.submodule { + freeformType = lib.types.attrsOf ( + lib.types.oneOf [ + lib.types.str + lib.types.int + ] + ); + options = { + RUSTFS_VOLUMES = lib.mkOption { + type = lib.types.path; + default = "/var/lib/rustfs"; + description = "The directory where RustFS stores it's data."; + }; + }; + }; + }; + + environmentFile = lib.mkOption { + type = lib.types.str; + description = "Path to environment file containing secrets like RUSTFS_ACCESS_KEY or RUSTFS_SECRET_KEY."; + }; + }; + + config = lib.mkIf cfg.enable { + assertions = [ + { + assertion = !(cfg.settings ? RUSTFS_ACCESS_KEY); + message = "RUSTFS_ACCESS_KEY must not be set in services.rustfs.settings. Use environmentFile instead."; + } + { + assertion = !(cfg.settings ? RUSTFS_SECRET_KEY); + message = "RUSTFS_SECRET_KEY must not be set in services.rustfs.settings. Use environmentFile instead."; + } + ]; + + systemd = { + tmpfiles.settings."10-rustfs".${cfg.settings.RUSTFS_VOLUMES}.d = { + inherit (cfg) user group; + }; + + # https://docs.rustfs.com/installation/linux/single-node-single-disk.html#_6-configure-system-service + services.rustfs = { + description = "RustFS Object Storage Server"; + documentation = [ "https://rustfs.com/docs/" ]; + + after = [ "network-online.target" ]; + wants = [ "network-online.target" ]; + + wantedBy = [ "multi-user.target" ]; + + environment = cfg.settings; + + preStart = '' + if [ -z "$RUSTFS_ACCESS_KEY" ] || [ -z "$RUSTFS_SECRET_KEY" ]; then + echo "RustFS uses well-known default values for RUSTFS_ACCESS_KEY and RUSTFS_SECRET_KEY," + echo "please configure them using services.rustfs.environmentFile." + exit 1 + fi + ''; + + serviceConfig = { + Type = "notify"; + NotifyAccess = "main"; + User = cfg.user; + Group = cfg.group; + + EnvironmentFile = cfg.environmentFile; + ExecStart = lib.getExe cfg.package; + + LimitNOFILE = 1048576; + LimitNPROC = 32768; + TasksMax = "infinity"; + + Restart = "always"; + RestartSec = "10s"; + + OOMScoreAdjust = "-1000"; + SendSIGKILL = false; + + TimeoutStartSec = "30s"; + TimeoutStopSec = "30s"; + + NoNewPrivileges = true; + + ProtectHome = true; + PrivateTmp = true; + PrivateDevices = true; + ProtectClock = true; + ProtectKernelTunables = true; + ProtectKernelModules = true; + ProtectControlGroups = true; + RestrictSUIDSGID = true; + RestrictRealtime = true; + }; + }; + }; + + users = { + users.${cfg.user} = { + isSystemUser = true; + inherit (cfg) group; + }; + groups.${cfg.group} = { }; + }; + }; +} diff --git a/nixos/tests/all-tests.nix b/nixos/tests/all-tests.nix index cfb2d37ba0ee..56b81080e417 100644 --- a/nixos/tests/all-tests.nix +++ b/nixos/tests/all-tests.nix @@ -1512,6 +1512,7 @@ in rtkit = runTest ./rtkit.nix; rtorrent = runTest ./rtorrent.nix; rush = runTest ./rush.nix; + rustfs = runTest ./rustfs.nix; rustical = runTest ./web-apps/rustical.nix; rustls-libssl = runTest ./rustls-libssl.nix; rxe = runTest ./rxe.nix; diff --git a/nixos/tests/rustfs.nix b/nixos/tests/rustfs.nix new file mode 100644 index 000000000000..7cace30e3bfc --- /dev/null +++ b/nixos/tests/rustfs.nix @@ -0,0 +1,69 @@ +{ pkgs, ... }: + +let + accessKey = "BKIKJAA5BMMU2RHO6IBB"; + secretKey = "V7f1CwQqAcwo80UEIJEjc5gVQUSSx5ohQ9GSrr12"; + + rustfsPythonScript = + pkgs.writers.writePython3 "rustfs-test" { libraries = with pkgs.python3Packages; [ minio ]; } + /* python */ '' + import io + import os + from minio import Minio + + minioClient = Minio( + 'localhost:9000', + access_key='${accessKey}', + secret_key='${secretKey}', + secure=False + ) + sio = io.BytesIO() + sio.write(b'Test from Python') + sio.seek(0, os.SEEK_END) + sio_len = sio.tell() + sio.seek(0) + minioClient.put_object( + 'test-bucket', + 'test.txt', + sio, + sio_len, + content_type='text/plain' + ) + ''; + +in +{ + name = "rustfs"; + meta = with pkgs.lib.maintainers; { + maintainers = [ + marcel + ]; + }; + + containers.machine = + { pkgs, ... }: + { + services.rustfs = { + enable = true; + environmentFile = builtins.toString ( + pkgs.writeText "rustfs-secrets.env" '' + RUSTFS_ACCESS_KEY=${accessKey} + RUSTFS_SECRET_KEY=${secretKey} + '' + ); + }; + + environment.systemPackages = with pkgs; [ minio-client ]; + }; + + testScript = /* python */ '' + machine.wait_for_unit("rustfs.service") + + machine.succeed("mc alias set rustfs http://localhost:9000 ${accessKey} ${secretKey} --api s3v4") + machine.succeed("mc mb rustfs/test-bucket") + machine.succeed("${rustfsPythonScript}") + assert "test-bucket" in machine.succeed("mc ls rustfs") + assert "Test from Python" in machine.succeed("mc cat rustfs/test-bucket/test.txt") + machine.succeed("mc rb --force rustfs/test-bucket") + ''; +} diff --git a/pkgs/applications/editors/jetbrains/readme.md b/pkgs/applications/editors/jetbrains/readme.md index 0ed0a67d4fd5..c890021090e9 100644 --- a/pkgs/applications/editors/jetbrains/readme.md +++ b/pkgs/applications/editors/jetbrains/readme.md @@ -78,7 +78,5 @@ Any comments or other manual changes between these markers will be removed when - on `aarch64-linux`: - from source build - see if build (binary or source) works without expat - - on `x86_64-darwin`: - - from source build - on `aarch64-darwin`: - from source build diff --git a/pkgs/applications/editors/jetbrains/updater/jetbrains_nix_updater/config.py b/pkgs/applications/editors/jetbrains/updater/jetbrains_nix_updater/config.py index 0449427e945f..d2c202c13fcf 100644 --- a/pkgs/applications/editors/jetbrains/updater/jetbrains_nix_updater/config.py +++ b/pkgs/applications/editors/jetbrains/updater/jetbrains_nix_updater/config.py @@ -3,7 +3,7 @@ import os import dataclasses from pathlib import Path -SUPPORTED_SYSTEMS = ["x86_64-linux", "aarch64-linux", "x86_64-darwin", "aarch64-darwin"] +SUPPORTED_SYSTEMS = ["x86_64-linux", "aarch64-linux", "aarch64-darwin"] def find_nixpkgs(current_path: Path) -> Path: diff --git a/pkgs/applications/editors/vscode/update-vscodium.sh b/pkgs/applications/editors/vscode/update-vscodium.sh index 6420ff0ee1f2..08c776dd9a46 100755 --- a/pkgs/applications/editors/vscode/update-vscodium.sh +++ b/pkgs/applications/editors/vscode/update-vscodium.sh @@ -21,8 +21,7 @@ for i in \ "aarch64-linux linux-arm64 tar.gz" \ "armv7l-linux linux-armhf tar.gz" \ "loongarch64-linux linux-loong64 tar.gz" \ - "aarch64-darwin darwin-arm64 zip" \ - "x86_64-darwin darwin-x64 zip"; do + "aarch64-darwin darwin-arm64 zip"; do set -- $i hash=$(nix --extra-experimental-features nix-command hash convert --hash-algo sha256 --to sri $(nix-prefetch-url "https://github.com/VSCodium/vscodium/releases/download/$latestVersion/VSCodium-$2-$latestVersion.$3")) update-source-version vscodium $latestVersion $hash --system=$1 --ignore-same-version diff --git a/pkgs/applications/networking/browsers/chromium/info.json b/pkgs/applications/networking/browsers/chromium/info.json index 33f308b23834..02777cbbdca1 100644 --- a/pkgs/applications/networking/browsers/chromium/info.json +++ b/pkgs/applications/networking/browsers/chromium/info.json @@ -3,7 +3,6 @@ "version": "150.0.7871.124", "chromedriver": { "version": "150.0.7871.125", - "hash_darwin": "sha256-HJTBS6eRmAsxrn7WW4hCxMCXdzn+1PYz1W0uZHJ38yk=", "hash_darwin_aarch64": "sha256-VCgkc6MeMPbt0F2ZVTJNn9yJbSYNhy1zr8KzPVaVi0I=" }, "deps": { diff --git a/pkgs/applications/networking/browsers/chromium/update.mjs b/pkgs/applications/networking/browsers/chromium/update.mjs index 9aab0753db78..c3652f161d5e 100755 --- a/pkgs/applications/networking/browsers/chromium/update.mjs +++ b/pkgs/applications/networking/browsers/chromium/update.mjs @@ -170,7 +170,6 @@ async function fetch_chromedriver_binaries(version) { const url = (platform) => `https://storage.googleapis.com/chrome-for-testing-public/${version}/${platform}/chromedriver-${platform}.zip` return { version, - hash_darwin: await prefetch(url('mac-x64')), hash_darwin_aarch64: await prefetch(url('mac-arm64')), } } diff --git a/pkgs/applications/office/libreoffice/darwin/default.nix b/pkgs/applications/office/libreoffice/darwin/default.nix index a2fdd448cdec..eb613364c8f3 100644 --- a/pkgs/applications/office/libreoffice/darwin/default.nix +++ b/pkgs/applications/office/libreoffice/darwin/default.nix @@ -12,22 +12,15 @@ let version = "26.2.4"; dist = { - aarch64-darwin = rec { - arch = "aarch64"; - archSuffix = arch; - url = "https://download.documentfoundation.org/libreoffice/stable/${version}/mac/${arch}/LibreOffice_${version}_MacOS_${archSuffix}.dmg"; - sha256 = "64e0ad05564554eeee639d49b08b20908a38d4722ec95f1620d05c99bcbe9fb1"; - }; + url = "https://download.documentfoundation.org/libreoffice/stable/${version}/mac/aarch64/LibreOffice_${version}_MacOS_aarch64.dmg"; + sha256 = "64e0ad05564554eeee639d49b08b20908a38d4722ec95f1620d05c99bcbe9fb1"; }; in stdenvNoCC.mkDerivation { inherit version; pname = "libreoffice"; src = fetchurl { - inherit - (dist.${stdenvNoCC.hostPlatform.system} - or (throw "Unsupported system: ${stdenvNoCC.hostPlatform.system}") - ) + inherit (dist) url sha256 ; @@ -52,16 +45,13 @@ stdenvNoCC.mkDerivation { let defaultNixFile = toString ./default.nix; updateNix = toString ./update.nix; - aarch64Url = dist."aarch64-darwin".url; - x86_64Url = dist."x86_64-darwin".url; in writeScript "update-libreoffice.sh" '' #!/usr/bin/env nix-shell - #!nix-shell -i bash --argstr aarch64Url ${aarch64Url} --argstr x86_64Url ${x86_64Url} --argstr version ${version} ${updateNix} + #!nix-shell -i bash --argstr url ${dist.url} --argstr version ${version} ${updateNix} set -eou pipefail - update-source-version libreoffice-bin $newVersion $newAarch64Sha256 --file=${defaultNixFile} --system=aarch64-darwin --ignore-same-version - update-source-version libreoffice-bin $newVersion $newX86_64Sha256 --file=${defaultNixFile} --system=x86_64-darwin --ignore-same-version + update-source-version libreoffice-bin $newVersion $newSha256 --file=${defaultNixFile} --ignore-same-version ''; meta = { diff --git a/pkgs/applications/office/libreoffice/darwin/update.nix b/pkgs/applications/office/libreoffice/darwin/update.nix index f3c5c758b428..17f4c69cf85e 100644 --- a/pkgs/applications/office/libreoffice/darwin/update.nix +++ b/pkgs/applications/office/libreoffice/darwin/update.nix @@ -1,7 +1,6 @@ # Impure functions, for passthru.updateScript runtime only { - aarch64Url, - x86_64Url, + url, version, pkgs ? import ../../../../../default.nix { }, }: @@ -14,6 +13,5 @@ in pkgs.mkShell rec { buildInputs = [ pkgs.common-updater-scripts ]; newVersion = getLatestStableVersion; - newAarch64Sha256 = getSha256 aarch64Url version newVersion; - newX86_64Sha256 = getSha256 x86_64Url version newVersion; + newSha256 = getSha256 url version newVersion; } diff --git a/pkgs/by-name/ac/acli/update.py b/pkgs/by-name/ac/acli/update.py index 4afb0b902f6d..0bec673b26b0 100755 --- a/pkgs/by-name/ac/acli/update.py +++ b/pkgs/by-name/ac/acli/update.py @@ -10,7 +10,7 @@ from urllib.request import urlopen, Request def get_arch_os_key(url) -> str: if "darwin_amd64" in url: - return "x86_64-darwin" + return None elif "darwin_arm64" in url: return "aarch64-darwin" elif "linux_amd64" in url: @@ -57,9 +57,8 @@ def parse_and_check(content): ) for url, hex_sha in matches: - key = get_arch_os_key(url) - - data["sources"][key] = {"url": url, "sha256": hex_sha} + if key := get_arch_os_key(url): + data["sources"][key] = {"url": url, "sha256": hex_sha} data["sources"] = dict(sorted(data["sources"].items())) diff --git a/pkgs/by-name/am/amp-cli/update.sh b/pkgs/by-name/am/amp-cli/update.sh index 86b348d857a2..d795637ef432 100755 --- a/pkgs/by-name/am/amp-cli/update.sh +++ b/pkgs/by-name/am/amp-cli/update.sh @@ -10,7 +10,6 @@ cd "$(dirname "${BASH_SOURCE[0]}")/../../../.." for system in \ x86_64-linux \ aarch64-linux \ - x86_64-darwin \ aarch64-darwin do update-source-version amp-cli "$version" \ diff --git a/pkgs/by-name/an/antigravity-cli/update.sh b/pkgs/by-name/an/antigravity-cli/update.sh index 835800502981..61ca43ac4483 100755 --- a/pkgs/by-name/an/antigravity-cli/update.sh +++ b/pkgs/by-name/an/antigravity-cli/update.sh @@ -25,7 +25,6 @@ update-source-version --version-key=version antigravity-cli $latestVersion || tr for system in \ x86_64-linux \ aarch64-linux \ - x86_64-darwin \ aarch64-darwin; do hash=$(nix store prefetch-file --json --hash-type sha256 \ $(nix-instantiate --eval --raw -E "with import ./. {}; antigravity-cli.src.url" --system "$system") | jq -r '.hash') diff --git a/pkgs/by-name/an/antigravity/update.js b/pkgs/by-name/an/antigravity/update.js index 45bf250a2fd5..38eb4cf7a444 100755 --- a/pkgs/by-name/an/antigravity/update.js +++ b/pkgs/by-name/an/antigravity/update.js @@ -13,12 +13,12 @@ import * as path from "node:path"; * @property {string} sha256hash SHA256 hash of the download file, example: "8eb01462dc4f26aba45be4992bda0b145d1ec210c63a6272578af27e59f23bef" * @property {string} url Download URL, example: "https://edgedl.me.gvt1.com/edgedl/release2/j0qc3/antigravity/stable/1.11.2-6251250307170304/linux-arm/Antigravity.tar.gz", "https://edgedl.me.gvt1.com/edgedl/release2/j0qc3/antigravity/stable/1.11.2-6251250307170304/darwin-x64/Antigravity.zip" */ -/** @typedef {"x86_64-linux" | "aarch64-linux" | "x86_64-darwin" | "aarch64-darwin"} Platform */ +/** @typedef {"x86_64-linux" | "aarch64-linux" | "aarch64-darwin"} Platform */ /** @typedef {{ version: string; vscodeVersion: string; sources: Record }} Information */ let version = ""; let vscodeVersion = ""; -async function getLatestInformation(/** @type {"linux-x64" | "linux-arm64" | "darwin-arm64" | "darwin"} */ targetSystem) { +async function getLatestInformation(/** @type {"linux-x64" | "linux-arm64" | "darwin-arm64"} */ targetSystem) { /** @type {UpdateInfo} */ const latestInfo = await (await fetch(`https://antigravity-auto-updater-974169037036.us-central1.run.app/api/update/${targetSystem}/stable/latest`)).json(); const newVersion = /\/antigravity\/stable\/([\d.]+)-[\d]+/.exec(latestInfo.url)?.[1] ?? ""; // Current API lack version field now, we need to parse it from the URL temporarily. @@ -35,7 +35,6 @@ async function getLatestInformation(/** @type {"linux-x64" | "linux-arm64" | "da const sources = { "x86_64-linux": await getLatestInformation("linux-x64"), "aarch64-linux": await getLatestInformation("linux-arm64"), - "x86_64-darwin": await getLatestInformation("darwin"), "aarch64-darwin": await getLatestInformation("darwin-arm64"), }; /** @type {Information} */ diff --git a/pkgs/by-name/ar/argc/package.nix b/pkgs/by-name/ar/argc/package.nix index 845c341a2a5f..f038fec73678 100644 --- a/pkgs/by-name/ar/argc/package.nix +++ b/pkgs/by-name/ar/argc/package.nix @@ -42,9 +42,9 @@ rustPlatform.buildRustPackage (finalAttrs: { env = { LANG = "C.UTF-8"; - } - // lib.optionalAttrs (glibcLocales != null) { - LOCALE_ARCHIVE = "${glibcLocales}/lib/locale/locale-archive"; + LOCALE_ARCHIVE = lib.optionalString ( + finalAttrs.finalPackage.doInstallCheck && glibcLocales != null + ) "${glibcLocales}/lib/locale/locale-archive"; }; doInstallCheck = true; @@ -55,14 +55,7 @@ rustPlatform.buildRustPackage (finalAttrs: { updateScript = nix-update-script { }; tests = { cross = - ( - if stdenv.hostPlatform.isDarwin then - if stdenv.hostPlatform.isAarch64 then pkgsCross.x86_64-darwin else pkgsCross.aarch64-darwin - else if stdenv.hostPlatform.isAarch64 then - pkgsCross.gnu64 - else - pkgsCross.aarch64-multiplatform - ).argc; + (if stdenv.hostPlatform.isAarch64 then pkgsCross.gnu64 else pkgsCross.aarch64-multiplatform).argc; }; }; diff --git a/pkgs/by-name/bo/boundary/update.sh b/pkgs/by-name/bo/boundary/update.sh index 660f44964a95..a163881d604c 100644 --- a/pkgs/by-name/bo/boundary/update.sh +++ b/pkgs/by-name/bo/boundary/update.sh @@ -26,13 +26,11 @@ replace_sha() { BOUNDARY_VER=$(curl -Ls -w "%{url_effective}" -o /dev/null https://github.com/hashicorp/boundary/releases/latest | awk -F'/' '{print $NF}' | sed 's/v//') BOUNDARY_LINUX_X64_SHA256=$(calc_hash "$BOUNDARY_VER" "linux_amd64") -BOUNDARY_DARWIN_X64_SHA256=$(calc_hash "$BOUNDARY_VER" "darwin_amd64") BOUNDARY_LINUX_AARCH64_SHA256=$(calc_hash "$BOUNDARY_VER" "linux_arm64") BOUNDARY_DARWIN_AARCH64_SHA256=$(calc_hash "$BOUNDARY_VER" "darwin_arm64") sed -i "s/version = \".*\"/version = \"$BOUNDARY_VER\"/" "$NIX_DRV" replace_sha "x86_64-linux" "$BOUNDARY_LINUX_X64_SHA256" -replace_sha "x86_64-darwin" "$BOUNDARY_DARWIN_X64_SHA256" replace_sha "aarch64-linux" "$BOUNDARY_LINUX_AARCH64_SHA256" replace_sha "aarch64-darwin" "$BOUNDARY_DARWIN_AARCH64_SHA256" diff --git a/pkgs/by-name/bo/box-cli/update.sh b/pkgs/by-name/bo/box-cli/update.sh index 3656eb168b46..093689c68b3f 100755 --- a/pkgs/by-name/bo/box-cli/update.sh +++ b/pkgs/by-name/bo/box-cli/update.sh @@ -32,7 +32,6 @@ echo "Updating box-cli from $old_version to $version" declare -A platforms=( [x86_64-linux]="box-linux-x64" [aarch64-linux]="box-linux-arm64" - [x86_64-darwin]="box-darwin-x64" [aarch64-darwin]="box-darwin-arm64" ) diff --git a/pkgs/by-name/br/brave/update.sh b/pkgs/by-name/br/brave/update.sh index f806154aa9dc..ccb7c9b826b0 100755 --- a/pkgs/by-name/br/brave/update.sh +++ b/pkgs/by-name/br/brave/update.sh @@ -8,7 +8,6 @@ latestVersion="$(curl --fail -s ${GITHUB_TOKEN:+-u ":$GITHUB_TOKEN"} "https://ap hashAarch64="$(nix-hash --to-sri --type sha256 "$(nix-prefetch-url --type sha256 "https://github.com/brave/brave-browser/releases/download/v${latestVersion}/brave-browser_${latestVersion}_arm64.deb")")" hashAmd64="$(nix-hash --to-sri --type sha256 "$(nix-prefetch-url --type sha256 "https://github.com/brave/brave-browser/releases/download/v${latestVersion}/brave-browser_${latestVersion}_amd64.deb")")" hashAarch64Darwin="$(nix-hash --to-sri --type sha256 "$(nix-prefetch-url --type sha256 "https://github.com/brave/brave-browser/releases/download/v${latestVersion}/brave-v${latestVersion}-darwin-arm64.zip")")" -hashAmd64Darwin="$(nix-hash --to-sri --type sha256 "$(nix-prefetch-url --type sha256 "https://github.com/brave/brave-browser/releases/download/v${latestVersion}/brave-v${latestVersion}-darwin-x64.zip")")" cat > $SCRIPT_DIR/package.nix << EOF # Expression generated by update.sh; do not edit it by hand! @@ -31,10 +30,6 @@ let url = "https://github.com/brave/brave-browser/releases/download/v\${version}/brave-v\${version}-darwin-arm64.zip"; hash = "${hashAarch64Darwin}"; }; - x86_64-darwin = { - url = "https://github.com/brave/brave-browser/releases/download/v\${version}/brave-v\${version}-darwin-x64.zip"; - hash = "${hashAmd64Darwin}"; - }; }; archive = diff --git a/pkgs/by-name/br/brioche/update-librusty.sh b/pkgs/by-name/br/brioche/update-librusty.sh index 0ba452c803f5..575755a3c110 100755 --- a/pkgs/by-name/br/brioche/update-librusty.sh +++ b/pkgs/by-name/br/brioche/update-librusty.sh @@ -36,7 +36,6 @@ fetchLibrustyV8 { # NOTE; Follows supported platforms of package (see meta.platforms attribute)! x86_64-linux = "$(nix-prefetch-url --type sha256 https://github.com/denoland/rusty_v8/releases/download/v"$NEW_VERSION"/librusty_v8_release_x86_64-unknown-linux-gnu.a.gz)"; aarch64-linux = "$(nix-prefetch-url --type sha256 https://github.com/denoland/rusty_v8/releases/download/v"$NEW_VERSION"/librusty_v8_release_aarch64-unknown-linux-gnu.a.gz)"; - x86_64-darwin = "$(nix-prefetch-url --type sha256 https://github.com/denoland/rusty_v8/releases/download/v"$NEW_VERSION"/librusty_v8_release_x86_64-apple-darwin.a.gz)"; aarch64-darwin = "$(nix-prefetch-url --type sha256 https://github.com/denoland/rusty_v8/releases/download/v"$NEW_VERSION"/librusty_v8_release_aarch64-apple-darwin.a.gz)"; }; } diff --git a/pkgs/by-name/bu/buck2/update.nu b/pkgs/by-name/bu/buck2/update.nu index dd43e7b834b6..57188e797bee 100755 --- a/pkgs/by-name/bu/buck2/update.nu +++ b/pkgs/by-name/bu/buck2/update.nu @@ -5,7 +5,6 @@ const ARCHES = [ { name: "x86_64-linux", target: "x86_64-unknown-linux-gnu" }, - { name: "x86_64-darwin", target: "x86_64-apple-darwin" }, { name: "aarch64-linux", target: "aarch64-unknown-linux-gnu" }, { name: "aarch64-darwin", target: "aarch64-apple-darwin" }, ]; diff --git a/pkgs/by-name/ca/cargo-readme/package.nix b/pkgs/by-name/ca/cargo-readme/package.nix index 6de86e184a61..0bd0b9c113d6 100644 --- a/pkgs/by-name/ca/cargo-readme/package.nix +++ b/pkgs/by-name/ca/cargo-readme/package.nix @@ -6,16 +6,16 @@ rustPlatform.buildRustPackage (finalAttrs: { pname = "cargo-readme"; - version = "3.3.2"; + version = "3.3.3"; src = fetchFromGitHub { owner = "webern"; repo = "cargo-readme"; rev = "v${finalAttrs.version}"; - sha256 = "sha256-p8QQNACU9lFig0vBQrb1u2T44Icwk10OBjGzaVLj7kk="; + sha256 = "sha256-Urp5OvM6LzLb8SY49u2Dc57NFJtyxpMkvCbb6hTUDMs="; }; - cargoHash = "sha256-kfXDMBqS4/QC+khQhQ2Jrer8TuFKlnZFS3IZ2lcVOR8="; + cargoHash = "sha256-CmYJ8acmcaWregM0zroaTFaPFV6cnS2KWf5Y4LXMcyk="; # disable doc tests cargoTestFlags = [ diff --git a/pkgs/by-name/cl/clouddrive2/update.sh b/pkgs/by-name/cl/clouddrive2/update.sh index 200bb47700fe..1e121ba98260 100755 --- a/pkgs/by-name/cl/clouddrive2/update.sh +++ b/pkgs/by-name/cl/clouddrive2/update.sh @@ -15,7 +15,6 @@ fi for i in \ "x86_64-linux linux-x86_64" \ "aarch64-linux linux-aarch64" \ - "x86_64-darwin macos-x86_64" \ "aarch64-darwin macos-aarch64"; do set -- $i prefetch=$(nix-prefetch-url "https://github.com/cloud-fs/cloud-fs.github.io/releases/download/v$latestVersion/clouddrive-2-$2-$latestVersion.tgz") diff --git a/pkgs/by-name/cl/cloudflared/package.nix b/pkgs/by-name/cl/cloudflared/package.nix index 384532faa0c8..9d18a1b6c502 100644 --- a/pkgs/by-name/cl/cloudflared/package.nix +++ b/pkgs/by-name/cl/cloudflared/package.nix @@ -9,13 +9,13 @@ buildGoModule (finalAttrs: { pname = "cloudflared"; - version = "2026.6.1"; + version = "2026.7.2"; src = fetchFromGitHub { owner = "cloudflare"; repo = "cloudflared"; tag = finalAttrs.version; - hash = "sha256-TQW0XnYS96sX/+dTGocKzz91fJG58cSV3jGZI3TBaeg="; + hash = "sha256-fuJfvm5c63koMl46sJmZOiWuNKpOwH17MD20XD7q6s0="; }; vendorHash = null; diff --git a/pkgs/by-name/co/code-cursor/update.sh b/pkgs/by-name/co/code-cursor/update.sh index d0d7308c81e1..da907c7aa003 100755 --- a/pkgs/by-name/co/code-cursor/update.sh +++ b/pkgs/by-name/co/code-cursor/update.sh @@ -17,7 +17,6 @@ VSCODE="" for pair in \ x86_64-linux:linux-x64 \ aarch64-linux:linux-arm64 \ - x86_64-darwin:darwin-x64 \ aarch64-darwin:darwin-arm64 do IFS=: read -r sys platform <<< "$pair" diff --git a/pkgs/by-name/co/codeium/update.sh b/pkgs/by-name/co/codeium/update.sh index 268886b576a0..1c3bfabb32dd 100755 --- a/pkgs/by-name/co/codeium/update.sh +++ b/pkgs/by-name/co/codeium/update.sh @@ -24,12 +24,10 @@ CODEIUM_VER=$(curl -s "https://api.github.com/repos/Exafunction/codeium/releases CODEIUM_LINUX_X64_HASH=$(fetch_arch "$CODEIUM_VER" "linux_x64") CODEIUM_LINUX_AARCH64_HASH=$(fetch_arch "$CODEIUM_VER" "linux_arm") -CODEIUM_DARWIN_X64_HASH=$(fetch_arch "$CODEIUM_VER" "macos_x64") CODEIUM_DARWIN_AARCH64_HASH=$(fetch_arch "$CODEIUM_VER" "macos_arm") sed -i "s/version = \".*\"/version = \"$CODEIUM_VER\"/" "$NIX_DRV" replace_hash "x86_64-linux" "$CODEIUM_LINUX_X64_HASH" replace_hash "aarch64-linux" "$CODEIUM_LINUX_AARCH64_HASH" -replace_hash "x86_64-darwin" "$CODEIUM_DARWIN_X64_HASH" replace_hash "aarch64-darwin" "$CODEIUM_DARWIN_AARCH64_HASH" diff --git a/pkgs/by-name/co/coder/update.sh b/pkgs/by-name/co/coder/update.sh index 7f5e29d10b00..65a4dd6fcc84 100755 --- a/pkgs/by-name/co/coder/update.sh +++ b/pkgs/by-name/co/coder/update.sh @@ -13,7 +13,6 @@ LATEST_MAINLINE_VERSION=$(curl ${GITHUB_TOKEN:+" -u \":$GITHUB_TOKEN\""} --fail # Define the platforms declare -A ARCHS=(["x86_64-linux"]="linux_amd64.tar.gz" ["aarch64-linux"]="linux_arm64.tar.gz" - ["x86_64-darwin"]="darwin_amd64.zip" ["aarch64-darwin"]="darwin_arm64.zip") update_version_and_hashes() { diff --git a/pkgs/by-name/co/codex-acp/update.sh b/pkgs/by-name/co/codex-acp/update.sh index 2a8328e7bcf5..aa434ded6b25 100755 --- a/pkgs/by-name/co/codex-acp/update.sh +++ b/pkgs/by-name/co/codex-acp/update.sh @@ -141,7 +141,6 @@ fetchurl { { x86_64-linux = "${V8_HASH_X86_64_LINUX}"; aarch64-linux = "${V8_HASH_AARCH64_LINUX}"; - x86_64-darwin = "${V8_HASH_X86_64_DARWIN}"; aarch64-darwin = "${V8_HASH_AARCH64_DARWIN}"; } .\${stdenv.hostPlatform.system} @@ -198,9 +197,8 @@ export CODEX_HASH V8_HASH_X86_64_LINUX="$(prefetch_sri "https://github.com/denoland/rusty_v8/releases/download/v${V8_VERSION}/librusty_v8_release_x86_64-unknown-linux-gnu.a.gz")" V8_HASH_AARCH64_LINUX="$(prefetch_sri "https://github.com/denoland/rusty_v8/releases/download/v${V8_VERSION}/librusty_v8_release_aarch64-unknown-linux-gnu.a.gz")" -V8_HASH_X86_64_DARWIN="$(prefetch_sri "https://github.com/denoland/rusty_v8/releases/download/v${V8_VERSION}/librusty_v8_release_x86_64-apple-darwin.a.gz")" V8_HASH_AARCH64_DARWIN="$(prefetch_sri "https://github.com/denoland/rusty_v8/releases/download/v${V8_VERSION}/librusty_v8_release_aarch64-apple-darwin.a.gz")" -export V8_VERSION V8_HASH_X86_64_LINUX V8_HASH_AARCH64_LINUX V8_HASH_X86_64_DARWIN V8_HASH_AARCH64_DARWIN +export V8_VERSION V8_HASH_X86_64_LINUX V8_HASH_AARCH64_LINUX V8_HASH_AARCH64_DARWIN update-source-version "$ATTR_PATH" "$latest_version" "$src_hash" --ignore-same-version update_codex_pins diff --git a/pkgs/by-name/co/confluent-cli/update.sh b/pkgs/by-name/co/confluent-cli/update.sh index e237957438f0..402304aa903e 100755 --- a/pkgs/by-name/co/confluent-cli/update.sh +++ b/pkgs/by-name/co/confluent-cli/update.sh @@ -23,7 +23,6 @@ fi for i in \ "x86_64-linux linux_amd64" \ "aarch64-linux linux_arm64" \ - "x86_64-darwin darwin_amd64" \ "aarch64-darwin darwin_arm64"; do set -- $i hash=$(nix --extra-experimental-features nix-command hash convert --to sri --hash-algo sha256 $(nix-prefetch-url "https://s3-us-west-2.amazonaws.com/confluent.cloud/confluent-cli/archives/$latestVersion/confluent_${latestVersion}_$2.tar.gz")) diff --git a/pkgs/by-name/cu/cursor-cli/update.sh b/pkgs/by-name/cu/cursor-cli/update.sh index 82484933310f..26b370557183 100755 --- a/pkgs/by-name/cu/cursor-cli/update.sh +++ b/pkgs/by-name/cu/cursor-cli/update.sh @@ -22,7 +22,7 @@ if [[ "$latestVersion" == "$currentVersion" ]]; then exit 0 fi -declare -A platforms=( [x86_64-linux]="linux/x64" [aarch64-linux]="linux/arm64" [x86_64-darwin]="darwin/x64" [aarch64-darwin]="darwin/arm64" ) +declare -A platforms=( [x86_64-linux]="linux/x64" [aarch64-linux]="linux/arm64" [aarch64-darwin]="darwin/arm64" ) for platform in "${!platforms[@]}"; do url="https://downloads.cursor.com/lab/$release/${platforms[$platform]}/agent-cli-package.tar.gz" diff --git a/pkgs/by-name/db/dbeaver-bin/update.sh b/pkgs/by-name/db/dbeaver-bin/update.sh index 8ab7bd75fcef..8a1e992dcef1 100755 --- a/pkgs/by-name/db/dbeaver-bin/update.sh +++ b/pkgs/by-name/db/dbeaver-bin/update.sh @@ -18,7 +18,6 @@ fi for i in \ "x86_64-linux linux-x86_64.tar.gz" \ "aarch64-linux linux-aarch64.tar.gz" \ - "x86_64-darwin macos-x86_64.dmg" \ "aarch64-darwin macos-aarch64.dmg" do # shellcheck disable=SC2086 # $i is intentionally splitted to $1 and $2 diff --git a/pkgs/by-name/db/dbgate/update.sh b/pkgs/by-name/db/dbgate/update.sh index 1e893aaa7706..d37000bac6a1 100755 --- a/pkgs/by-name/db/dbgate/update.sh +++ b/pkgs/by-name/db/dbgate/update.sh @@ -15,7 +15,6 @@ fi for system in \ x86_64-linux \ aarch64-linux \ - x86_64-darwin \ aarch64-darwin; do hash=$(nix --extra-experimental-features nix-command hash convert --to sri --hash-algo sha256 $(nix-prefetch-url $(nix-instantiate --eval -E "with import ./. {}; dbgate.src.url" --system "$system" | tr -d '"'))) update-source-version dbgate $latestVersion $hash --system=$system --ignore-same-version diff --git a/pkgs/by-name/ec/eccodes/package.nix b/pkgs/by-name/ec/eccodes/package.nix index 32c9129f541a..3b7425f56866 100644 --- a/pkgs/by-name/ec/eccodes/package.nix +++ b/pkgs/by-name/ec/eccodes/package.nix @@ -17,11 +17,11 @@ }: gccStdenv.mkDerivation rec { pname = "eccodes"; - version = "2.47.0"; + version = "2.48.0"; src = fetchurl { url = "https://confluence.ecmwf.int/download/attachments/45757960/eccodes-${version}-Source.tar.gz"; - hash = "sha256-gtqBmqm1GDHcFLO/KRi/7lCxzVOgUIjQw/RJN1iq4JQ="; + hash = "sha256-Yuj6XKE30TgYml/dbVsiBcicwmM44/Qoaro9ibScn5o="; }; postPatch = '' diff --git a/pkgs/by-name/ev/everest-bin/package.nix b/pkgs/by-name/ev/everest-bin/package.nix index 5fc06ee6949c..808d1351a3c3 100644 --- a/pkgs/by-name/ev/everest-bin/package.nix +++ b/pkgs/by-name/ev/everest-bin/package.nix @@ -8,15 +8,15 @@ let pname = "everest"; - version = "6314"; + version = "6397"; phome = "$out/lib/Celeste"; in stdenvNoCC.mkDerivation { inherit pname version; src = fetchzip { - url = "https://github.com/EverestAPI/Everest/releases/download/stable-1.6314.0/main.zip"; + url = "https://github.com/EverestAPI/Everest/releases/download/stable-1.6397.0/main.zip"; extension = "zip"; - hash = "sha256-YM6zjANINWQlTNu3EJFKIVl9VhVY4Ednjp+I+6Ap7dI="; + hash = "sha256-zU9FCDe5NDfuxnV+KdI0g9XiqAZM/tI1XZOXifYLblE="; }; buildInputs = [ icu diff --git a/pkgs/by-name/ev/everest/package.nix b/pkgs/by-name/ev/everest/package.nix index 1fb0046ebd02..5b1fb0162381 100644 --- a/pkgs/by-name/ev/everest/package.nix +++ b/pkgs/by-name/ev/everest/package.nix @@ -11,8 +11,8 @@ let pname = "everest"; - version = "6314"; - rev = "a3112074ae83766af9f8cf48295689bbd8166730"; + version = "6397"; + rev = "985fd82290fe47798bcd46cbbaa7574fe02780c8"; phome = "$out/lib/Celeste"; in buildDotnetModule { @@ -25,7 +25,7 @@ buildDotnetModule { fetchSubmodules = true; # TODO: use leaveDotGit = true and modify external/MonoMod in postFetch to please SourceLink # Microsoft.SourceLink.Common.targets(53,5): warning : Source control information is not available - the generated source link is empty. - hash = "sha256-yZLhjP09ocn8lbb6SuklcEHvqz/GV2/wlxpjYm/gr08="; + hash = "sha256-p/blM1lXeR2MBjfgMlJuseYZgQj3ziaiY9x3V+vH15s="; }; nativeBuildInputs = [ autoPatchelfHook ]; diff --git a/pkgs/by-name/fe/fermyon-spin/update.py b/pkgs/by-name/fe/fermyon-spin/update.py index 2a2129a5926e..7fbff7d295f2 100755 --- a/pkgs/by-name/fe/fermyon-spin/update.py +++ b/pkgs/by-name/fe/fermyon-spin/update.py @@ -7,7 +7,6 @@ from os.path import join, dirname # We set oldHash and newHash fields in the inner dict later. systems = { "x86_64-linux": {"os": "linux", "arch": "amd64"}, - "x86_64-darwin": {"os": "macos", "arch": "amd64"}, "aarch64-linux": {"os": "linux", "arch": "aarch64"}, "aarch64-darwin": {"os": "macos", "arch": "aarch64"}, } diff --git a/pkgs/by-name/fl/flamp/package.nix b/pkgs/by-name/fl/flamp/package.nix index 841a43c6a9f5..43a893f92198 100644 --- a/pkgs/by-name/fl/flamp/package.nix +++ b/pkgs/by-name/fl/flamp/package.nix @@ -36,7 +36,6 @@ stdenv.mkDerivation (finalAttrs: { license = lib.licenses.gpl3Plus; maintainers = with lib.maintainers; [ stteague ]; platforms = lib.platforms.unix; - broken = stdenv.system == "x86_64-darwin"; mainProgram = "flamp"; }; }) diff --git a/pkgs/by-name/fl/floorp-bin-unwrapped/update.sh b/pkgs/by-name/fl/floorp-bin-unwrapped/update.sh index 3d0b87d688f2..f912437dd84b 100755 --- a/pkgs/by-name/fl/floorp-bin-unwrapped/update.sh +++ b/pkgs/by-name/fl/floorp-bin-unwrapped/update.sh @@ -34,10 +34,9 @@ jq ' elif .url | contains("linux-x86_64") then {key: "x86_64-linux", value: .} elif .url | contains("macOS-universal") then - [{key: "aarch64-darwin", value: .}, {key: "x86_64-darwin", value: .}] + {key: "aarch64-darwin", value: .} else null end ) - | flatten | from_entries ) } diff --git a/pkgs/by-name/gi/gitkraken/update.sh b/pkgs/by-name/gi/gitkraken/update.sh index 8c75dc1a4977..3330868113c0 100755 --- a/pkgs/by-name/gi/gitkraken/update.sh +++ b/pkgs/by-name/gi/gitkraken/update.sh @@ -14,7 +14,6 @@ version=$(curl -fsSL https://api.gitkraken.dev/releases/production/linux/x64/REL # Hardcoded URLs to compute hashes declare -A tarballs=( ["x86_64-linux"]="https://api.gitkraken.dev/releases/production/linux/x64/${version}/gitkraken-amd64.tar.gz" - ["x86_64-darwin"]="https://api.gitkraken.dev/releases/production/darwin/x64/${version}/GitKraken-v${version}.zip" ["aarch64-darwin"]="https://api.gitkraken.dev/releases/production/darwin/arm64/${version}/GitKraken-v${version}.zip" ) diff --git a/pkgs/by-name/go/google-cloud-sdk/update.sh b/pkgs/by-name/go/google-cloud-sdk/update.sh index e8f3caf832f8..aea218cc1f87 100755 --- a/pkgs/by-name/go/google-cloud-sdk/update.sh +++ b/pkgs/by-name/go/google-cloud-sdk/update.sh @@ -30,9 +30,6 @@ EOF echo -n " x86_64-linux =" genMainSrc "linux" "x86_64" - echo -n " x86_64-darwin =" - genMainSrc "darwin" "x86_64" - echo -n " aarch64-linux =" genMainSrc "linux" "arm" diff --git a/pkgs/by-name/gr/grok-build/update.sh b/pkgs/by-name/gr/grok-build/update.sh index 371f2853e8ad..5d7553dc2603 100755 --- a/pkgs/by-name/gr/grok-build/update.sh +++ b/pkgs/by-name/gr/grok-build/update.sh @@ -16,7 +16,7 @@ fi update-source-version grok-build "${version}" || true -for system in "aarch64-darwin macos-aarch64" "aarch64-linux linux-aarch64" "x86_64-darwin macos-x86_64" "x86_64-linux linux-x86_64"; do +for system in "aarch64-darwin macos-aarch64" "aarch64-linux linux-aarch64" "x86_64-linux linux-x86_64"; do # shellcheck disable=SC2086 set -- ${system} diff --git a/pkgs/by-name/ho/hoppscotch/update.sh b/pkgs/by-name/ho/hoppscotch/update.sh index dd18d1942cad..ce3a73ceb62c 100755 --- a/pkgs/by-name/ho/hoppscotch/update.sh +++ b/pkgs/by-name/ho/hoppscotch/update.sh @@ -17,7 +17,6 @@ update-source-version hoppscotch $latestVersion || true for system in \ x86_64-linux \ - x86_64-darwin \ aarch64-darwin; do hash=$(nix --extra-experimental-features nix-command hash convert --to sri --hash-algo sha256 $(nix-prefetch-url $(nix-instantiate --eval -E "with import $BASEDIR {}; hoppscotch.src.url" --system "$system" | tr -d '"'))) (cd $BASEDIR && update-source-version hoppscotch $latestVersion $hash --system=$system --ignore-same-version) diff --git a/pkgs/by-name/ib/ibmcloud-cli/package.nix b/pkgs/by-name/ib/ibmcloud-cli/package.nix index d4048cfd7ef4..ae09b5cb8e96 100644 --- a/pkgs/by-name/ib/ibmcloud-cli/package.nix +++ b/pkgs/by-name/ib/ibmcloud-cli/package.nix @@ -21,13 +21,7 @@ let "s390x" else throw "Unsupported arch: ${stdenv.hostPlatform.system}"; - platform = - if stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64 then - "macos_arm64" - else if stdenv.hostPlatform.isDarwin then - "macos" - else - "linux_${arch}"; + platform = if stdenv.hostPlatform.isDarwin then "macos_arm64" else "linux_${arch}"; in stdenv.mkDerivation (finalAttrs: { pname = "ibmcloud-cli"; diff --git a/pkgs/by-name/ib/ibmcloud-cli/update.sh b/pkgs/by-name/ib/ibmcloud-cli/update.sh index 26f1525a3202..2d340e8d12ee 100755 --- a/pkgs/by-name/ib/ibmcloud-cli/update.sh +++ b/pkgs/by-name/ib/ibmcloud-cli/update.sh @@ -19,7 +19,6 @@ for system in \ i686-linux \ powerpc64le-linux \ s390x-linux \ - x86_64-darwin \ aarch64-darwin; do tmp=$(mktemp -d) curl -fsSL -o $tmp/ibmcloud-cli $(nix-instantiate --eval -E "with import ./. {}; ibmcloud-cli.src.url" --system "$system" | tr -d '"') diff --git a/pkgs/by-name/im/imagineer/package.nix b/pkgs/by-name/im/imagineer/package.nix index 24e108b02ff0..3114786491e2 100644 --- a/pkgs/by-name/im/imagineer/package.nix +++ b/pkgs/by-name/im/imagineer/package.nix @@ -51,7 +51,5 @@ rustPlatform.buildRustPackage (finalAttrs: { ]; maintainers = [ lib.maintainers.progrm_jarvis ]; mainProgram = "ig"; - # The last successful Darwin Hydra build was in 2024 - broken = stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64; }; }) diff --git a/pkgs/by-name/ki/kiro-cli/package.nix b/pkgs/by-name/ki/kiro-cli/package.nix index bdb2b27bd3c6..295cfe09be35 100644 --- a/pkgs/by-name/ki/kiro-cli/package.nix +++ b/pkgs/by-name/ki/kiro-cli/package.nix @@ -17,12 +17,6 @@ stdenv.mkDerivation (finalAttrs: { version = "2.10.0"; src = - let - darwinDmg = fetchurl { - url = "https://desktop-release.q.us-east-1.amazonaws.com/${finalAttrs.version}/Kiro%20CLI.dmg"; - hash = "sha256-NDeyXQO9NBsK3xqAEcO1gGn9ta+ZVQ1GNwZ4hbGUe3Q="; - }; - in { x86_64-linux = fetchurl { url = "https://desktop-release.q.us-east-1.amazonaws.com/${finalAttrs.version}/kirocli-x86_64-linux.tar.gz"; @@ -32,7 +26,10 @@ stdenv.mkDerivation (finalAttrs: { url = "https://desktop-release.q.us-east-1.amazonaws.com/${finalAttrs.version}/kirocli-aarch64-linux.tar.gz"; hash = "sha256-39hKSRi1l5ruSqObViksJkufiCOvLTaIkQzT3sNQFQQ="; }; - aarch64-darwin = darwinDmg; + aarch64-darwin = fetchurl { + url = "https://desktop-release.q.us-east-1.amazonaws.com/${finalAttrs.version}/Kiro%20CLI.dmg"; + hash = "sha256-NDeyXQO9NBsK3xqAEcO1gGn9ta+ZVQ1GNwZ4hbGUe3Q="; + }; } .${system} or (throw "Unsupported system: ${system}"); diff --git a/pkgs/by-name/ki/kiro-cli/update.sh b/pkgs/by-name/ki/kiro-cli/update.sh index baff24e34e71..bedf83491dfc 100755 --- a/pkgs/by-name/ki/kiro-cli/update.sh +++ b/pkgs/by-name/ki/kiro-cli/update.sh @@ -63,7 +63,7 @@ echo "darwin hash: $darwin_hash" # Get current hashes from package.nix current_x86_hash=$(grep -A2 'x86_64-linux = fetchurl' "$PACKAGE_NIX" | grep -Po 'hash = "\K[^"]+') current_aarch64_hash=$(grep -A2 'aarch64-linux = fetchurl' "$PACKAGE_NIX" | grep -Po 'hash = "\K[^"]+') -current_darwin_hash=$(grep -A2 'darwinDmg = fetchurl' "$PACKAGE_NIX" | grep -Po 'hash = "\K[^"]+') +current_darwin_hash=$(grep -A2 'aarch64-darwin = fetchurl' "$PACKAGE_NIX" | grep -Po 'hash = "\K[^"]+') # Update version and hashes sed -i "s|version = \"$current_version\"|version = \"$latest_version\"|" "$PACKAGE_NIX" diff --git a/pkgs/by-name/ki/kiro/update.sh b/pkgs/by-name/ki/kiro/update.sh index 211dd624d020..07652514b9c2 100755 --- a/pkgs/by-name/ki/kiro/update.sh +++ b/pkgs/by-name/ki/kiro/update.sh @@ -12,7 +12,6 @@ SOURCES_JSON="${SCRIPT_DIR}/sources.json" # Platform configuration declare -A PLATFORM_URLS=( ["x86_64-linux"]="https://prod.download.desktop.kiro.dev/stable/metadata-linux-x64-stable.json" - ["x86_64-darwin"]="https://prod.download.desktop.kiro.dev/stable/metadata-dmg-darwin-x64-stable.json" ["aarch64-darwin"]="https://prod.download.desktop.kiro.dev/stable/metadata-dmg-darwin-arm64-stable.json" ) diff --git a/pkgs/by-name/le/legends-of-equestria/update.sh b/pkgs/by-name/le/legends-of-equestria/update.sh index 1035b733a8da..b3ac969539e1 100755 --- a/pkgs/by-name/le/legends-of-equestria/update.sh +++ b/pkgs/by-name/le/legends-of-equestria/update.sh @@ -60,5 +60,4 @@ applyUpdate() { } applyUpdate x86_64-linux Linux -applyUpdate x86_64-darwin macOS applyUpdate aarch64-darwin "macOS arm64" diff --git a/pkgs/by-name/le/lens/update.sh b/pkgs/by-name/le/lens/update.sh index 12174d9799fc..ec0f3bd9d32f 100755 --- a/pkgs/by-name/le/lens/update.sh +++ b/pkgs/by-name/le/lens/update.sh @@ -28,10 +28,9 @@ appimage_hash=$(manifest_hash '.x86_64.AppImage' "$linux_manifest") dmg_hash=$(manifest_hash '-latest.dmg' "$mac_manifest") arm64_dmg_hash=$(manifest_hash '-arm64.dmg' "$mac_manifest") -# The three platforms share one version but have distinct hashes. --system picks +# The two platforms share one version but have distinct hashes. --system picks # which source (and therefore which hash) update-source-version rewrites; passing # the hash explicitly avoids a download. The version is written on the first call, # so the darwin calls need --ignore-same-version to not early-exit as "unchanged". update-source-version lens "$version" "$appimage_hash" --system=x86_64-linux -update-source-version lens "$version" "$dmg_hash" --system=x86_64-darwin --ignore-same-version update-source-version lens "$version" "$arm64_dmg_hash" --system=aarch64-darwin --ignore-same-version diff --git a/pkgs/by-name/lo/losange/package.nix b/pkgs/by-name/lo/losange/package.nix index 6f50fabfc121..be9b2cee7f1a 100644 --- a/pkgs/by-name/lo/losange/package.nix +++ b/pkgs/by-name/lo/losange/package.nix @@ -21,7 +21,7 @@ }: rustPlatform.buildRustPackage (finalAttrs: { pname = "losange"; - version = "0.10.1"; + version = "0.10.2"; __structuredAttrs = true; strictDeps = true; @@ -30,10 +30,10 @@ rustPlatform.buildRustPackage (finalAttrs: { owner = "tymmesyde"; repo = "losange"; tag = "v${finalAttrs.version}"; - hash = "sha256-mr54/vnaopLwG9lhFiZJGgxWH/VaGitROVEeV7GSyHM="; + hash = "sha256-GRWDtua4QaJP6Te/EUXu0YmUJYdYbMrdNxj0WiE/B7w="; }; - cargoHash = "sha256-LJ8EpxEIN8wojSmQ+WVshYRxGFAC9sUk5tnh3I2J408="; + cargoHash = "sha256-e7ENEIEpnwdI50bQnlP9iV0vmsNOlfNaR0UJ6mHsi2g="; buildInputs = [ mpv diff --git a/pkgs/by-name/mi/mirrord/update.py b/pkgs/by-name/mi/mirrord/update.py index 5756363cfc7c..580aafb451c2 100755 --- a/pkgs/by-name/mi/mirrord/update.py +++ b/pkgs/by-name/mi/mirrord/update.py @@ -12,7 +12,6 @@ platforms = { "x86_64-linux": "linux_x86_64", "aarch64-linux": "linux_aarch64", "aarch64-darwin": "mac_universal", - "x86_64-darwin": "mac_universal", } if __name__ == "__main__": diff --git a/pkgs/by-name/mo/mochi/package.nix b/pkgs/by-name/mo/mochi/package.nix index 81d56f9eb8ae..c513e7211733 100644 --- a/pkgs/by-name/mo/mochi/package.nix +++ b/pkgs/by-name/mo/mochi/package.nix @@ -41,12 +41,8 @@ let inherit pname version meta; src = fetchurl { - url = "https://download.mochi.cards/releases/Mochi-${version}${lib.optionalString stdenv.hostPlatform.isAarch64 "-arm64"}.dmg"; - hash = - if stdenv.hostPlatform.isAarch64 then - "sha256-2NADaVzkibWjxBymeF1McGEQH6xHaqDMBg080kCI0F8=" - else - "sha256-XM4vQVQ9QtvqyDu2Wx/8/Z+8H2DetfCufJYrX/1JHFw="; + url = "https://download.mochi.cards/releases/Mochi-${version}-arm64.dmg"; + hash = "sha256-2NADaVzkibWjxBymeF1McGEQH6xHaqDMBg080kCI0F8="; }; sourceRoot = "."; diff --git a/pkgs/by-name/mo/mochi/update.sh b/pkgs/by-name/mo/mochi/update.sh index cc6e20044d54..64c69ee0f4a9 100755 --- a/pkgs/by-name/mo/mochi/update.sh +++ b/pkgs/by-name/mo/mochi/update.sh @@ -17,10 +17,8 @@ fi # Update version and hash for x86_64-linux (AppImage) update-source-version mochi "$latestVersion" --system=x86_64-linux -# Update hashes for darwin systems -for system in x86_64-darwin aarch64-darwin; do - url=$(nix-instantiate --eval --json -E "with import ./. { system = \"$system\"; }; mochi.src.url" | tr -d '"') - hash=$(nix-prefetch-url "$url") - sriHash=$(nix --extra-experimental-features nix-command hash convert --hash-algo sha256 --to sri "$hash") - update-source-version mochi "$latestVersion" "$sriHash" --system="$system" --ignore-same-version -done +# Update hash for aarch64-darwin +url=$(nix-instantiate --eval --json -E "with import ./. { system = \"aarch64-darwin\"; }; mochi.src.url" | tr -d '"') +hash=$(nix-prefetch-url "$url") +sriHash=$(nix --extra-experimental-features nix-command hash convert --hash-algo sha256 --to sri "$hash") +update-source-version mochi "$latestVersion" "$sriHash" --system=aarch64-darwin --ignore-same-version diff --git a/pkgs/by-name/mo/mouser/package.nix b/pkgs/by-name/mo/mouser/package.nix index fd74ae98cb08..e51d8b9c2544 100644 --- a/pkgs/by-name/mo/mouser/package.nix +++ b/pkgs/by-name/mo/mouser/package.nix @@ -12,7 +12,7 @@ python3Packages.buildPythonApplication (finalAttrs: { pname = "mouser"; - version = "3.6.0"; + version = "3.7.0"; pyproject = false; __structuredAttrs = true; @@ -21,7 +21,7 @@ python3Packages.buildPythonApplication (finalAttrs: { owner = "TomBadash"; repo = "Mouser"; tag = "v${finalAttrs.version}"; - hash = "sha256-ESfkpswENa91wL1WSfDL/Wpu4sjhT8qibJ0wsEYHX+0="; + hash = "sha256-Pjcx7YChgu7R8Kdv8fOJcxq98nwh/izpjbOO+4/cdk4="; }; nativeBuildInputs = lib.optionals stdenv.hostPlatform.isLinux [ diff --git a/pkgs/by-name/no/notesnook/update.sh b/pkgs/by-name/no/notesnook/update.sh index ed977f182a0d..fcf8f5c6027e 100755 --- a/pkgs/by-name/no/notesnook/update.sh +++ b/pkgs/by-name/no/notesnook/update.sh @@ -18,7 +18,6 @@ fi for i in \ "x86_64-linux linux_x86_64.AppImage" \ "aarch64-linux linux_arm64.AppImage" \ - "x86_64-darwin mac_x64.dmg" \ "aarch64-darwin mac_arm64.dmg"; do set -- $i hash=$(nix-hash --to-sri --type sha256 "$(nix-prefetch-url "https://github.com/streetwriters/notesnook/releases/download/v$latestVersion/notesnook_$2")") diff --git a/pkgs/by-name/nr/nrfutil/update.sh b/pkgs/by-name/nr/nrfutil/update.sh index 72bb4763a361..c8329f892aec 100755 --- a/pkgs/by-name/nr/nrfutil/update.sh +++ b/pkgs/by-name/nr/nrfutil/update.sh @@ -17,7 +17,6 @@ declare -a packages architectures["x86_64-linux"]="x86_64-unknown-linux-gnu" architectures["aarch64-linux"]="aarch64-unknown-linux-gnu" # NOTE: segger-jlink is not yet packaged for darwin -# architectures["x86_64-darwin"]="x86_64-apple-darwin" # architectures["aarch64-darwin"]="aarch64-apple-darwin" packages=( diff --git a/pkgs/by-name/nt/ntfs3g/package.nix b/pkgs/by-name/nt/ntfs3g/package.nix index 8b4aa462b4e9..3c7d25a6d49a 100644 --- a/pkgs/by-name/nt/ntfs3g/package.nix +++ b/pkgs/by-name/nt/ntfs3g/package.nix @@ -16,7 +16,7 @@ stdenv.mkDerivation (finalAttrs: { pname = "ntfs3g"; - version = "2026.2.25"; + version = "2026.7.7"; outputs = [ "out" @@ -29,7 +29,7 @@ stdenv.mkDerivation (finalAttrs: { owner = "tuxera"; repo = "ntfs-3g"; tag = finalAttrs.version; - hash = "sha256-uiVh87ExLXq94NVqR8MEg7Lrvamm6MrH+qP3Nosii5c="; + hash = "sha256-7Z3rMOHBwrWqkxeksic3+Z+WvwJy2ra9rRxGjESsd04="; }; buildInputs = [ diff --git a/pkgs/by-name/oc/ocis_5-bin/package.nix b/pkgs/by-name/oc/ocis_5-bin/package.nix index 2453d3df8c00..00e35dfab40c 100644 --- a/pkgs/by-name/oc/ocis_5-bin/package.nix +++ b/pkgs/by-name/oc/ocis_5-bin/package.nix @@ -30,7 +30,6 @@ let hash_amd64-linux = "sha256-tmUfDKLO35qCs1hauJQKhJhcnMhqOpcqDFtAggMFhLE="; hash_arm64-linux = "sha256-ggRDW1cnTHMQKvOvCDH3eptH3O3PgYaondlzOGHTjio="; hash_arm-linux = "sha256-uMLRow1NeHufSI5B4k5qSIfH3lTxg+WxzLxgdedAz40="; - hash_amd64-darwin = "sha256-LZ6n/f2MdbFaPnBCoJqZZ7HQiLG3Z6ZoatgFsxaFvMc="; hash_arm64-darwin = "sha256-k5X2ZInFS/HlToOZPX23TRJqlx/XM1ZG++Xr4BHn8SY="; } ."hash_${arch}-${os}"; @@ -73,7 +72,7 @@ stdenv.mkDerivation (finalAttrs: { (lib.intersectLists lib.platforms.linux ( lib.platforms.arm ++ lib.platforms.aarch64 ++ lib.platforms.x86 )) - ++ (lib.intersectLists lib.platforms.darwin (lib.platforms.aarch64 ++ lib.platforms.x86_64)); + ++ lib.platforms.darwin; sourceProvenance = [ lib.sourceTypes.binaryNativeCode ]; mainProgram = "ocis"; diff --git a/pkgs/by-name/oc/ocis_5-bin/update.py b/pkgs/by-name/oc/ocis_5-bin/update.py index c2f717cb41d5..8436e735b6cb 100755 --- a/pkgs/by-name/oc/ocis_5-bin/update.py +++ b/pkgs/by-name/oc/ocis_5-bin/update.py @@ -251,7 +251,6 @@ def main(): systems = [ ("darwin", "arm64", "aarch64-darwin"), - ("darwin", "amd64", "x86_64-darwin"), ("linux", "arm64", "aarch64-linux"), ("linux", "arm", "armv7l-linux"), ("linux", "amd64", "x86_64-linux"), diff --git a/pkgs/by-name/or/orbstack/package.nix b/pkgs/by-name/or/orbstack/package.nix index 0f8fa3730fb9..d9ac7e1107af 100644 --- a/pkgs/by-name/or/orbstack/package.nix +++ b/pkgs/by-name/or/orbstack/package.nix @@ -8,28 +8,17 @@ let inherit (stdenvNoCC.hostPlatform) system; version = "2.2.1-20628"; - sourceData = { - aarch64-darwin = { - arch = "arm64"; - hash = "sha256-W8FxnDyYfExgxlvp/dZbRzCZDhaX7Byxwz5rujG/krU="; - }; - }; - sources = lib.mapAttrs ( - system: - { arch, hash }: - fetchurl { - url = "https://cdn-updates.orbstack.dev/${arch}/OrbStack_v${ - lib.replaceString "-" "_" version - }_${arch}.dmg"; - inherit hash; - } - ) sourceData; in stdenvNoCC.mkDerivation (finalAttrs: { pname = "orbstack"; inherit version; - src = finalAttrs.passthru.sources.${system} or (throw "unsupported system ${system}"); + src = fetchurl { + url = "https://cdn-updates.orbstack.dev/arm64/OrbStack_v${ + lib.replaceString "-" "_" version + }_arm64.dmg"; + hash = "sha256-W8FxnDyYfExgxlvp/dZbRzCZDhaX7Byxwz5rujG/krU="; + }; # -snld prevents "ERROR: Dangerous symbolic link path was ignored" # -xr'!*:com.apple.*' prevents macOS extended attributes (e.g. macl or @@ -66,7 +55,6 @@ stdenvNoCC.mkDerivation (finalAttrs: { ''; passthru = { - inherit sources; updateScript = ./update.sh; }; diff --git a/pkgs/by-name/or/orbstack/update.sh b/pkgs/by-name/or/orbstack/update.sh index 39c1c2ffe787..582719072a99 100755 --- a/pkgs/by-name/or/orbstack/update.sh +++ b/pkgs/by-name/or/orbstack/update.sh @@ -4,21 +4,8 @@ set -eu -o pipefail -update_arch() { - local arch="$1" - local system="$2" +source_url="$(curl -L -I "https://orbstack.dev/download/stable/latest/arm64" | grep -i "location:" | awk '{print $2}' | tr -d '\r')" +version="$(echo "$source_url" | grep -o '\([0-9]\+\.\)\{2\}[0-9]\+_[0-9]\+' | sed 's/_/-/')" +hash=$(nix --extra-experimental-features nix-command hash convert --to sri --hash-algo sha256 "$(nix-prefetch-url --type sha256 "$source_url")") - local source_url - source_url="$(curl -L -I "https://orbstack.dev/download/stable/latest/$arch" | grep -i "location:" | awk '{print $2}' | tr -d '\r')" - - local version - version="$(echo "$source_url" | grep -o '\([0-9]\+\.\)\{2\}[0-9]\+_[0-9]\+' | sed 's/_/-/')" - - local hash - hash=$(nix --extra-experimental-features nix-command hash convert --to sri --hash-algo sha256 "$(nix-prefetch-url --type sha256 "$source_url")") - - update-source-version orbstack "$version" "$hash" --system="$system" --source-key="sources.$system" --ignore-same-version -} - -update_arch "arm64" "aarch64-darwin" -update_arch "amd64" "x86_64-darwin" +update-source-version orbstack "$version" "$hash" --ignore-same-version diff --git a/pkgs/by-name/os/osu-lazer-bin/update.sh b/pkgs/by-name/os/osu-lazer-bin/update.sh index 19508b7825e9..7a1edd076fc5 100755 --- a/pkgs/by-name/os/osu-lazer-bin/update.sh +++ b/pkgs/by-name/os/osu-lazer-bin/update.sh @@ -15,7 +15,6 @@ echo "Updating osu-lazer-bin from $old_version to $new_version..." for pair in \ 'aarch64-darwin osu.app.Apple.Silicon.zip' \ - 'x86_64-darwin osu.app.Intel.zip' \ 'x86_64-linux osu.AppImage' do set -- $pair diff --git a/pkgs/by-name/pd/pdfium-binaries/update.sh b/pkgs/by-name/pd/pdfium-binaries/update.sh index 7546a8926329..05957cc0d630 100755 --- a/pkgs/by-name/pd/pdfium-binaries/update.sh +++ b/pkgs/by-name/pd/pdfium-binaries/update.sh @@ -19,7 +19,6 @@ update-source-version pdfium-binaries $latestVersion || true for system in \ x86_64-linux \ aarch64-linux \ - x86_64-darwin \ aarch64-darwin; do hash=$(nix --extra-experimental-features nix-command hash convert --to sri --hash-algo sha256 $(nix-prefetch-url --unpack $(nix-instantiate --eval -E "with import ./. {}; pdfium-binaries.src.url" --system "$system" | tr -d '"'))) update-source-version pdfium-binaries $latestVersion $hash --system=$system --ignore-same-version @@ -28,7 +27,6 @@ done for system in \ x86_64-linux \ aarch64-linux \ - x86_64-darwin \ aarch64-darwin; do hash=$(nix --extra-experimental-features nix-command hash convert --to sri --hash-algo sha256 $(nix-prefetch-url --unpack $(nix-instantiate --eval -E "with import ./. {}; pdfium-binaries-v8.src.url" --system "$system" | tr -d '"'))) update-source-version pdfium-binaries-v8 $latestVersion $hash --system=$system --ignore-same-version diff --git a/pkgs/by-name/pg/pgsql-tools/update.sh b/pkgs/by-name/pg/pgsql-tools/update.sh index ddd35c318e8a..f6932338bd7f 100644 --- a/pkgs/by-name/pg/pgsql-tools/update.sh +++ b/pkgs/by-name/pg/pgsql-tools/update.sh @@ -19,7 +19,6 @@ update-source-version pgsql-tools "$latestVersion" --file=pkgs/by-name/pg/pgsql- declare -A platforms=( ["x86_64-linux"]="pgsqltoolsservice-linux-x64.tar.gz" ["aarch64-linux"]="pgsqltoolsservice-linux-arm64.tar.gz" - ["x86_64-darwin"]="pgsqltoolsservice-osx-x86.tar.gz" ["aarch64-darwin"]="pgsqltoolsservice-osx-arm64.tar.gz" ) diff --git a/pkgs/by-name/ph/phoenixd/update.sh b/pkgs/by-name/ph/phoenixd/update.sh index a983312c6a71..4c051abfede3 100755 --- a/pkgs/by-name/ph/phoenixd/update.sh +++ b/pkgs/by-name/ph/phoenixd/update.sh @@ -17,7 +17,6 @@ fi for system in \ aarch64-linux \ - x86_64-darwin \ aarch64-darwin; do hash=$(nix --extra-experimental-features nix-command hash convert --to sri --hash-algo sha256 $(nix-prefetch-url $(nix-instantiate --eval -E "with import ./. {}; phoenixd.src.url" --system "$system" | tr -d '"'))) update-source-version phoenixd $latestVersion $hash --system=$system --ignore-same-version diff --git a/pkgs/by-name/pr/prometheus-redis-exporter/package.nix b/pkgs/by-name/pr/prometheus-redis-exporter/package.nix index 2869d2f5676a..353805132402 100644 --- a/pkgs/by-name/pr/prometheus-redis-exporter/package.nix +++ b/pkgs/by-name/pr/prometheus-redis-exporter/package.nix @@ -10,16 +10,16 @@ buildGoModule rec { pname = "redis_exporter"; - version = "1.86.0"; + version = "1.87.0"; src = fetchFromGitHub { owner = "oliver006"; repo = "redis_exporter"; rev = "v${version}"; - sha256 = "sha256-N7IW1u/ifo8S0yRmdRYFAXfqke/GUVy5omrEqaCZ/3I="; + sha256 = "sha256-c2+3pV81p8TxJQ3QUKFnwXKHlV9Gl8Ezghv8rH4dVGg="; }; - vendorHash = "sha256-muGgriK1DDkKk4DOWf7m+W6/qquwYwqgTOzyNGbjV+U="; + vendorHash = "sha256-WvQx0UzORuDZPM0IDk2q4l6pfrecrUvzD3jP3vqV1Zo="; ldflags = [ "-X main.BuildVersion=${version}" diff --git a/pkgs/by-name/pu/pulumi-bin/update.sh b/pkgs/by-name/pu/pulumi-bin/update.sh index f71812135552..4da7ff0fc381 100755 --- a/pkgs/by-name/pu/pulumi-bin/update.sh +++ b/pkgs/by-name/pu/pulumi-bin/update.sh @@ -141,11 +141,6 @@ EOF genSrcs "linux" "amd64" echo " ];" - echo " x86_64-darwin = [" - genMainSrc "darwin" "x64" - genSrcs "darwin" "amd64" - echo " ];" - echo " aarch64-linux = [" genMainSrc "linux" "arm64" genSrcs "linux" "arm64" diff --git a/pkgs/by-name/qo/qolibri/package.nix b/pkgs/by-name/qo/qolibri/package.nix index 0d8e6088b5ba..b92ab6372e07 100644 --- a/pkgs/by-name/qo/qolibri/package.nix +++ b/pkgs/by-name/qo/qolibri/package.nix @@ -57,7 +57,6 @@ stdenv.mkDerivation { license = lib.licenses.gpl2; maintainers = [ lib.maintainers.azahi ]; platforms = lib.platforms.unix; - broken = stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64; # Looks like a libcxx version mismatch problem. mainProgram = "qolibri"; }; } diff --git a/pkgs/by-name/qq/qq/update.sh b/pkgs/by-name/qq/qq/update.sh index ecc1c769d0dd..af58939b7598 100755 --- a/pkgs/by-name/qq/qq/update.sh +++ b/pkgs/by-name/qq/qq/update.sh @@ -36,18 +36,14 @@ cat >sources.nix <sources.nix <sources.nix <sources.nix <sources.nix <)[^<]+') darwin_version=$(echo "$darwin_payload" | grep -oP '(?<=\s)\d+(?:\.\d+)+(?=/)') linux_amd64_url=$(echo "$linux_payload" | grep -oP "downLoad\('[^']*'" | head -1 | sed "s/downLoad('//;s/'$//") -darwin_amd64_url="https://package.mac.wpscdn.cn/mac_wps_pkg/${darwin_version}/WPS_Office_${darwin_version}(${darwin_version##*.})_x64.dmg" darwin_arm64_url="https://package.mac.wpscdn.cn/mac_wps_pkg/${darwin_version}/WPS_Office_${darwin_version}(${darwin_version##*.})_arm64.dmg" timestamp10=$(date '+%s') linux_amd64_md5hash=($(printf '%s' "$SECURITY_KEY${linux_amd64_url#$prefix}$timestamp10" | md5sum)) linux_amd64_hash=$(nix-prefetch-url --name "wpsoffice-cn-$linux_version.deb" "$linux_amd64_url?t=$timestamp10&k=$linux_amd64_md5hash") -darwin_amd64_hash=$(nix-prefetch-url --name "wpsoffice-cn-$darwin_version.dmg" "$darwin_amd64_url") darwin_arm64_hash=$(nix-prefetch-url --name "wpsoffice-cn-$darwin_version.dmg" "$darwin_arm64_url") linux_amd64_hash=$(nix --extra-experimental-features nix-command hash convert --to sri --hash-algo sha256 "$linux_amd64_hash") -darwin_amd64_hash=$(nix --extra-experimental-features nix-command hash convert --to sri --hash-algo sha256 "$darwin_amd64_hash") darwin_arm64_hash=$(nix --extra-experimental-features nix-command hash convert --to sri --hash-algo sha256 "$darwin_arm64_hash") cat > sources.nix << EOF @@ -41,10 +38,6 @@ cat > sources.nix << EOF url = "$linux_amd64_url"; hash = "$linux_amd64_hash"; }; - x86_64-darwin = { - url = "$darwin_amd64_url"; - hash = "$darwin_amd64_hash"; - }; aarch64-darwin = { url = "$darwin_arm64_url"; hash = "$darwin_arm64_hash"; diff --git a/pkgs/by-name/ya/yandex-cloud/update.py b/pkgs/by-name/ya/yandex-cloud/update.py index d6309118bf92..53d4555f061a 100644 --- a/pkgs/by-name/ya/yandex-cloud/update.py +++ b/pkgs/by-name/ya/yandex-cloud/update.py @@ -14,7 +14,6 @@ systems = [ ("aarch64", "darwin"), ("aarch64", "linux"), ("i686", "linux"), - ("x86_64", "darwin"), ("x86_64", "linux"), ] diff --git a/pkgs/by-name/zo/zoom-us/package.nix b/pkgs/by-name/zo/zoom-us/package.nix index bd573c080e3b..34c8a05cac58 100644 --- a/pkgs/by-name/zo/zoom-us/package.nix +++ b/pkgs/by-name/zo/zoom-us/package.nix @@ -55,7 +55,6 @@ let # We write them on three lines like this (rather than using {}) so that the updater script can # find where to edit them. versions.aarch64-darwin = "7.1.0.83064"; - versions.x86_64-darwin = "7.1.0.83064"; # This is the fallback version so that evaluation can produce a meaningful result. versions.x86_64-linux = "7.1.0.3715"; diff --git a/pkgs/by-name/zo/zoom-us/update.sh b/pkgs/by-name/zo/zoom-us/update.sh index 25e8d58eb9a2..7147ecd8abfc 100755 --- a/pkgs/by-name/zo/zoom-us/update.sh +++ b/pkgs/by-name/zo/zoom-us/update.sh @@ -17,7 +17,6 @@ version_x86_64_linux=$(jq -r .zoom.version <<<"$linux_data") echo >&2 "=== Updating package.nix ..." # update-source-version expects to be at the root of nixpkgs (cd "$nixpkgs" && update-source-version --ignore-same-version --print-changes --version-key=versions.aarch64-darwin pkgsCross.aarch64-darwin.zoom-us "$version_aarch64_darwin") -(cd "$nixpkgs" && update-source-version --ignore-same-version --print-changes --version-key=versions.x86_64-darwin pkgsCross.x86_64-darwin.zoom-us "$version_x86_64_darwin") (cd "$nixpkgs" && update-source-version --ignore-same-version --print-changes --version-key=versions.x86_64-linux pkgsCross.gnu64.zoom-us "$version_x86_64_linux" --source-key=unpacked.src) echo >&2 "=== Done!" diff --git a/pkgs/development/compilers/ccl/default.nix b/pkgs/development/compilers/ccl/default.nix index 8754458b76f8..665b7ebdbe32 100644 --- a/pkgs/development/compilers/ccl/default.nix +++ b/pkgs/development/compilers/ccl/default.nix @@ -105,8 +105,6 @@ stdenv.mkDerivation (finalAttrs: { hardeningDisable = [ "format" ]; meta = { - # assembler failures during build, x86_64-darwin broken since 2020-10-14 - broken = (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64); description = "Clozure Common Lisp"; homepage = "https://ccl.clozure.com/"; license = lib.licenses.asl20; diff --git a/pkgs/development/compilers/dotnet/source/vmr.nix b/pkgs/development/compilers/dotnet/source/vmr.nix index bea18bbb31f5..6cf87c827860 100644 --- a/pkgs/development/compilers/dotnet/source/vmr.nix +++ b/pkgs/development/compilers/dotnet/source/vmr.nix @@ -551,8 +551,5 @@ stdenv.mkDerivation { "aarch64-linux" "aarch64-darwin" ]; - # build deadlocks intermittently on rosetta - # https://github.com/dotnet/runtime/issues/111628 - broken = stdenv.hostPlatform.system == "x86_64-darwin"; }; } diff --git a/pkgs/development/compilers/flutter/update/get-artifact-hashes.nix.in b/pkgs/development/compilers/flutter/update/get-artifact-hashes.nix.in index 8edff6a2e876..b67f45d42bbd 100644 --- a/pkgs/development/compilers/flutter/update/get-artifact-hashes.nix.in +++ b/pkgs/development/compilers/flutter/update/get-artifact-hashes.nix.in @@ -21,7 +21,6 @@ let systemPlatforms = [ "x86_64-linux" "aarch64-linux" - "x86_64-darwin" "aarch64-darwin" ]; diff --git a/pkgs/development/compilers/flutter/update/get-dart-hashes.nix.in b/pkgs/development/compilers/flutter/update/get-dart-hashes.nix.in index 0972a3578b52..7b140b1d6d70 100644 --- a/pkgs/development/compilers/flutter/update/get-dart-hashes.nix.in +++ b/pkgs/development/compilers/flutter/update/get-dart-hashes.nix.in @@ -9,7 +9,6 @@ let { x86_64-linux = "linux-x64"; aarch64-linux = "linux-arm64"; - x86_64-darwin = "macos-x64"; aarch64-darwin = "macos-arm64"; } ."@platform@"; diff --git a/pkgs/development/compilers/flutter/update/update.py b/pkgs/development/compilers/flutter/update/update.py index 7a28cc46d949..971af0d17285 100755 --- a/pkgs/development/compilers/flutter/update/update.py +++ b/pkgs/development/compilers/flutter/update/update.py @@ -153,7 +153,7 @@ def get_artifact_hashes(flutter_compact_version): def get_dart_hashes(dart_version, channel): - platforms = ["x86_64-linux", "aarch64-linux", "x86_64-darwin", "aarch64-darwin"] + platforms = ["x86_64-linux", "aarch64-linux", "aarch64-darwin"] result_dict = {} for platform in platforms: code = load_code( diff --git a/pkgs/development/compilers/graalvm/community-edition/update.sh b/pkgs/development/compilers/graalvm/community-edition/update.sh index 30f1782e53b9..88c233e6d20f 100755 --- a/pkgs/development/compilers/graalvm/community-edition/update.sh +++ b/pkgs/development/compilers/graalvm/community-edition/update.sh @@ -82,14 +82,12 @@ if [[ "$product" == "graalvm-ce" ]]; then [aarch64-linux]="linux-aarch64" [x86_64-linux]="linux-x64" [aarch64-darwin]="macos-aarch64" - [x86_64-darwin]="macos-x64" ) else declare -r -A platforms=( [aarch64-linux]="linux-aarch64" [x86_64-linux]="linux-amd64" [aarch64-darwin]="macos-aarch64" - [x86_64-darwin]="macos-amd64" ) fi diff --git a/pkgs/development/libraries/mesa/common.nix b/pkgs/development/libraries/mesa/common.nix index 28c2bb9f83d5..2e24b7e1e61c 100644 --- a/pkgs/development/libraries/mesa/common.nix +++ b/pkgs/development/libraries/mesa/common.nix @@ -5,14 +5,14 @@ # nix build .#legacyPackages.aarch64-darwin.mesa rec { pname = "mesa"; - version = "26.1.4"; + version = "26.1.5"; src = fetchFromGitLab { domain = "gitlab.freedesktop.org"; owner = "mesa"; repo = "mesa"; rev = "mesa-${version}"; - hash = "sha256-PiuqafeJY7aGvb/T8rksTgManWiH9tjxbsi/W1vlFDM="; + hash = "sha256-7p0WyvVF6QHDmYjYvacR2MJjRDNNHYG5YGuPZb+hcTg="; }; meta = { diff --git a/pkgs/development/python-modules/aioimmich/default.nix b/pkgs/development/python-modules/aioimmich/default.nix index 74355dbce0a7..f7b2d1d51d22 100644 --- a/pkgs/development/python-modules/aioimmich/default.nix +++ b/pkgs/development/python-modules/aioimmich/default.nix @@ -14,14 +14,14 @@ buildPythonPackage rec { pname = "aioimmich"; - version = "0.16.1"; + version = "0.16.3"; pyproject = true; src = fetchFromGitHub { owner = "mib1185"; repo = "aioimmich"; tag = "v${version}"; - hash = "sha256-/Y4wSiaXpQXn0V+g56rL62fdE7SWl9L4sBeEL3nkGD8="; + hash = "sha256-Q79OpJWxspTjCdeUV8ymsXDfT2+kPiEfcaCGKWquOyY="; }; postPatch = '' diff --git a/pkgs/development/python-modules/aiomelcloudhome/default.nix b/pkgs/development/python-modules/aiomelcloudhome/default.nix index 25675dc9696f..05e689c78721 100644 --- a/pkgs/development/python-modules/aiomelcloudhome/default.nix +++ b/pkgs/development/python-modules/aiomelcloudhome/default.nix @@ -15,14 +15,14 @@ buildPythonPackage (finalAttrs: { pname = "aiomelcloudhome"; - version = "0.1.9"; + version = "0.2.1"; pyproject = true; src = fetchFromGitHub { owner = "erwindouna"; repo = "aiomelcloudhome"; tag = "v${finalAttrs.version}"; - hash = "sha256-aYaV7+Lj7LShO0HqoUjSFAMTOHY5piMdSACOVizGgco="; + hash = "sha256-OmeKkxx9/+3QYWMlv5fLplSVEOW3fPYurgBoqle8OFI="; }; build-system = [ hatchling ]; diff --git a/pkgs/development/python-modules/frida-python/update.sh b/pkgs/development/python-modules/frida-python/update.sh index 2dde81527470..88132590f18c 100755 --- a/pkgs/development/python-modules/frida-python/update.sh +++ b/pkgs/development/python-modules/frida-python/update.sh @@ -11,7 +11,6 @@ sed -i "s/version = \".*\"/version = \"$latest\"/" "$dir/default.nix" for system_platform in \ "x86_64-linux|manylinux1_x86_64" \ "aarch64-linux|manylinux2014_aarch64" \ - "x86_64-darwin|macosx_10_13_x86_64" \ "aarch64-darwin|macosx_11_0_arm64" do system="${system_platform%%|*}" diff --git a/pkgs/development/python-modules/imgw-pib/default.nix b/pkgs/development/python-modules/imgw-pib/default.nix index ed303cde63e0..0aa17abffc1d 100644 --- a/pkgs/development/python-modules/imgw-pib/default.nix +++ b/pkgs/development/python-modules/imgw-pib/default.nix @@ -16,14 +16,14 @@ buildPythonPackage (finalAttrs: { pname = "imgw-pib"; - version = "2.4.1"; + version = "2.4.3"; pyproject = true; src = fetchFromGitHub { owner = "bieniu"; repo = "imgw-pib"; tag = finalAttrs.version; - hash = "sha256-KF9YQKGX6mTINZN09PNVLYFqMe1cITN4P9ge1Q+NGJk="; + hash = "sha256-aGsvgAdj5PlVvLgE+PsgDUzmgDeXhsBJBNnxLn/K8XU="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/pyhelty/default.nix b/pkgs/development/python-modules/pyhelty/default.nix index f015cd4c58e9..73ad70ca8c1f 100644 --- a/pkgs/development/python-modules/pyhelty/default.nix +++ b/pkgs/development/python-modules/pyhelty/default.nix @@ -10,14 +10,14 @@ buildPythonPackage (finalAttrs: { pname = "pyhelty"; - version = "0.2.0"; + version = "0.3.0"; pyproject = true; src = fetchFromGitHub { owner = "ebaschiera"; repo = "pyhelty"; tag = "v${finalAttrs.version}"; - hash = "sha256-w7RbTXab6CPQ4yispLa8t/wcx0bZQ1rXiXPhpqVH17k="; + hash = "sha256-mNUiVly29UIrD4woLY7IX45Ts5VXNmZw9toJ4zb39Jw="; }; build-system = [ hatchling ]; diff --git a/pkgs/development/python-modules/qh3/default.nix b/pkgs/development/python-modules/qh3/default.nix index 4773e622ff7f..60dc5bf1b519 100644 --- a/pkgs/development/python-modules/qh3/default.nix +++ b/pkgs/development/python-modules/qh3/default.nix @@ -14,19 +14,19 @@ buildPythonPackage (finalAttrs: { pname = "qh3"; - version = "1.9.3"; + version = "1.9.4"; pyproject = true; src = fetchFromGitHub { owner = "jawah"; repo = "qh3"; tag = "v${finalAttrs.version}"; - hash = "sha256-m77m+uw6tntW+YEo0+hKZx8EePNcoivBZC84X7RDu5o="; + hash = "sha256-Mu9wvwHHn5wZfE+TdMu/nr2B7+WbFhFHDoItDs6rRPM="; }; cargoDeps = rustPlatform.fetchCargoVendor { inherit (finalAttrs) pname version src; - hash = "sha256-mQ7kRXi5dqSJ1D58rZivKVO6j3SC+9GkDZkErU21cQc="; + hash = "sha256-bwdaM+DdXm5YpzVlyYdDqnR+QQ0dY199DYN2g33RvCs="; }; nativeBuildInputs = [ diff --git a/pkgs/development/python-modules/semgrep/update.sh b/pkgs/development/python-modules/semgrep/update.sh index c5eecc39491f..58d492de5dce 100755 --- a/pkgs/development/python-modules/semgrep/update.sh +++ b/pkgs/development/python-modules/semgrep/update.sh @@ -105,7 +105,6 @@ update_core_platform() { # update_core_platform update_core_platform "x86_64-linux" "x86_64" "manylinux" update_core_platform "aarch64-linux" "aarch64" "manylinux" -update_core_platform "x86_64-darwin" "x86_64" "macosx" update_core_platform "aarch64-darwin" "arm64" "macosx" OLD_PWD=$PWD diff --git a/pkgs/development/python-modules/victron-mqtt/default.nix b/pkgs/development/python-modules/victron-mqtt/default.nix index ac13a0b9f9f5..12f1952ab591 100644 --- a/pkgs/development/python-modules/victron-mqtt/default.nix +++ b/pkgs/development/python-modules/victron-mqtt/default.nix @@ -12,14 +12,14 @@ buildPythonPackage (finalAttrs: { pname = "victron-mqtt"; - version = "2026.7.2"; + version = "2026.7.3"; pyproject = true; src = fetchFromGitHub { owner = "tomer-w"; repo = "victron_mqtt"; tag = "v${finalAttrs.version}"; - hash = "sha256-ZU5qz+21rxHnpHlV0Vn+iiBDqW110hy/4+Emblj6gWo="; + hash = "sha256-J5k3JkAP1E39KL3JMIfg00jDuiFfIss+N3+/Jxscx3s="; }; build-system = [ diff --git a/pkgs/development/tools/electron/binary/update.py b/pkgs/development/tools/electron/binary/update.py index 67efba73c362..1ee10323df6e 100755 --- a/pkgs/development/tools/electron/binary/update.py +++ b/pkgs/development/tools/electron/binary/update.py @@ -47,7 +47,6 @@ systems = { "x86_64-linux": "linux-x64", "armv7l-linux": "linux-armv7l", "aarch64-linux": "linux-arm64", - "x86_64-darwin": "darwin-x64", "aarch64-darwin": "darwin-arm64", } diff --git a/pkgs/development/tools/infisical/hashes.json b/pkgs/development/tools/infisical/hashes.json index f4b015db3c1c..3a88405c8e72 100644 --- a/pkgs/development/tools/infisical/hashes.json +++ b/pkgs/development/tools/infisical/hashes.json @@ -1,6 +1,5 @@ { "_comment": "@generated by pkgs/development/tools/infisical/update.sh" , "x86_64-linux": "sha256-/2fksPX6/hsz6hYGdn5iNah0LMR+avY0zf9UuNH8zAo=" - , "aarch64-linux": "sha256-lrkyolCSgLQiet287Br0aGYCP/daaYzJAaqMvsqsbsw=" , "aarch64-darwin": "sha256-pw06koxiY9gYvDw0b6tRTMy3BGYS36mxV0q8TWEA7vM=" } diff --git a/pkgs/development/tools/infisical/update.sh b/pkgs/development/tools/infisical/update.sh index dc2a855d9cf0..53f2b236dcd2 100755 --- a/pkgs/development/tools/infisical/update.sh +++ b/pkgs/development/tools/infisical/update.sh @@ -15,7 +15,6 @@ echo "Latest infisical release: $VERSION" ARCHS=( "x86_64-linux:linux_amd64" - "x86_64-darwin:darwin_amd64" "aarch64-linux:linux_arm64" "aarch64-darwin:darwin_arm64" ) diff --git a/pkgs/development/tools/selenium/chromedriver/binary.nix b/pkgs/development/tools/selenium/chromedriver/binary.nix index 84ab490d6dc9..745a2f864fd5 100644 --- a/pkgs/development/tools/selenium/chromedriver/binary.nix +++ b/pkgs/development/tools/selenium/chromedriver/binary.nix @@ -12,19 +12,6 @@ let (lib.importJSON ../../../../applications/networking/browsers/chromium/info.json) .chromium.chromedriver; - # See ./source.nix for Linux - allSpecs = { - - aarch64-darwin = { - system = "mac-arm64"; - hash = upstream-info.hash_darwin_aarch64; - }; - }; - - spec = - allSpecs.${stdenv.hostPlatform.system} - or (throw "missing chromedriver binary for ${stdenv.hostPlatform.system}"); - inherit (upstream-info) version; in stdenv.mkDerivation { @@ -32,8 +19,8 @@ stdenv.mkDerivation { inherit version; src = fetchzip { - url = "https://storage.googleapis.com/chrome-for-testing-public/${version}/${spec.system}/chromedriver-${spec.system}.zip"; - inherit (spec) hash; + url = "https://storage.googleapis.com/chrome-for-testing-public/${version}/mac-arm64/chromedriver-mac-arm64.zip"; + hash = upstream-info.hash_darwin_aarch64; }; nativeBuildInputs = [ unzip ]; diff --git a/pkgs/development/web/playwright/browser-downloads-test.js b/pkgs/development/web/playwright/browser-downloads-test.js index 5f4ec96259c0..9db75a07d66b 100644 --- a/pkgs/development/web/playwright/browser-downloads-test.js +++ b/pkgs/development/web/playwright/browser-downloads-test.js @@ -15,7 +15,6 @@ const browserNames = Object.keys(browserDownloads); const hostPlatformBySystem = { "x86_64-linux": "ubuntu24.04-x64", "aarch64-linux": "ubuntu24.04-arm64", - "x86_64-darwin": "mac15", "aarch64-darwin": "mac15-arm64", }; diff --git a/pkgs/development/web/playwright/chromium-headless-shell.nix b/pkgs/development/web/playwright/chromium-headless-shell.nix index 645d15fd5559..e83de5fa56de 100644 --- a/pkgs/development/web/playwright/chromium-headless-shell.nix +++ b/pkgs/development/web/playwright/chromium-headless-shell.nix @@ -70,11 +70,7 @@ let darwin = fetchzip { inherit (download) url stripRoot; - hash = - { - aarch64-darwin = "sha256-qWrMOreqTOFhmFBROlXIPXrM3wqNT7iJJwpelVFke6I="; - } - .${system} or throwSystem; + hash = "sha256-qWrMOreqTOFhmFBROlXIPXrM3wqNT7iJJwpelVFke6I="; }; in { diff --git a/pkgs/development/web/playwright/chromium.nix b/pkgs/development/web/playwright/chromium.nix index 4d92563b30a1..1eb744ffd82d 100644 --- a/pkgs/development/web/playwright/chromium.nix +++ b/pkgs/development/web/playwright/chromium.nix @@ -128,11 +128,7 @@ let }; chromium-darwin = fetchzip { inherit (download) url stripRoot; - hash = - { - aarch64-darwin = "sha256-aJbvZQ1hY0FfDC+ZktfW2yNW3nwc0kh/P30+n/cmLf0="; - } - .${system} or throwSystem; + hash = "sha256-aJbvZQ1hY0FfDC+ZktfW2yNW3nwc0kh/P30+n/cmLf0="; }; in { diff --git a/pkgs/development/web/playwright/firefox.nix b/pkgs/development/web/playwright/firefox.nix index e757f9af593d..91c70ebcf75b 100644 --- a/pkgs/development/web/playwright/firefox.nix +++ b/pkgs/development/web/playwright/firefox.nix @@ -40,11 +40,7 @@ let }; firefox-darwin = fetchzip { inherit (download) url stripRoot; - hash = - { - aarch64-darwin = "sha256-Opwa5SbuAaXf2A+qrldHc6BkhRaOzzl0dy7R4vodG5w="; - } - .${system} or throwSystem; + hash = "sha256-Opwa5SbuAaXf2A+qrldHc6BkhRaOzzl0dy7R4vodG5w="; }; in { diff --git a/pkgs/development/web/playwright/update.sh b/pkgs/development/web/playwright/update.sh index 21d8b85cbc85..8043188eb16e 100755 --- a/pkgs/development/web/playwright/update.sh +++ b/pkgs/development/web/playwright/update.sh @@ -17,7 +17,7 @@ playwright_driver_file="$root/driver.nix" playwright_raw_repo_url="https://raw.githubusercontent.com/microsoft/playwright" playwright_mcp_package_file="$root/../../../by-name/pl/playwright-mcp/package.nix" browser_names=(chromium chromium-headless-shell firefox webkit ffmpeg) -browser_systems=(x86_64-linux aarch64-linux x86_64-darwin aarch64-darwin) +browser_systems=(x86_64-linux aarch64-linux aarch64-darwin) github_api_get() { curl "${github_api_curl_args[@]}" -fsSL "$1" diff --git a/pkgs/development/web/playwright/webkit.nix b/pkgs/development/web/playwright/webkit.nix index da2028c325b1..e3e191410ab1 100644 --- a/pkgs/development/web/playwright/webkit.nix +++ b/pkgs/development/web/playwright/webkit.nix @@ -202,11 +202,7 @@ let }; webkit-darwin = fetchzip { inherit (download) url stripRoot; - hash = - { - aarch64-darwin = "sha256-glVkYnthOFBPp1gZXTue9WwjP+oCgQpq6j9Mlm/bjmg="; - } - .${system} or throwSystem; + hash = "sha256-glVkYnthOFBPp1gZXTue9WwjP+oCgQpq6j9Mlm/bjmg="; }; in { diff --git a/pkgs/servers/home-assistant/custom-components/eero/package.nix b/pkgs/servers/home-assistant/custom-components/eero/package.nix new file mode 100644 index 000000000000..e5fd06afac1e --- /dev/null +++ b/pkgs/servers/home-assistant/custom-components/eero/package.nix @@ -0,0 +1,44 @@ +{ + buildHomeAssistantComponent, + fetchFromGitHub, + lib, + nix-update-script, + pypng, + pyqrcode, +}: + +buildHomeAssistantComponent rec { + version = "1.8.1"; + owner = "schmittx"; + domain = "eero"; + + src = fetchFromGitHub { + owner = "schmittx"; + repo = "home-assistant-eero"; + tag = version; + hash = "sha256-iAY5ZlJaSZedykIOiRxULbrs+b8iK0pGed3fHbF3b8E="; + }; + + # no tests + doCheck = false; + + ignoreVersionRequirement = [ + "pypng" + "pyqrcode" + ]; + + dependencies = [ + pypng + pyqrcode + ]; + + passthru.updateScript = nix-update-script { }; + + meta = { + description = "Custom component to allow control of Eero networks in Home Assistant"; + homepage = "https://github.com/schmittx/home-assistant-eero"; + changelog = "https://github.com/schmittx/home-assistant-eero/releases/tag/${src.tag}"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ RoGreat ]; + }; +} diff --git a/pkgs/servers/home-assistant/custom-lovelace-modules/custom-brand-icons/package.nix b/pkgs/servers/home-assistant/custom-lovelace-modules/custom-brand-icons/package.nix index 8c8a48490df4..c8fc97bcc002 100644 --- a/pkgs/servers/home-assistant/custom-lovelace-modules/custom-brand-icons/package.nix +++ b/pkgs/servers/home-assistant/custom-lovelace-modules/custom-brand-icons/package.nix @@ -6,16 +6,16 @@ buildNpmPackage (finalAttrs: { pname = "custom-brand-icons"; - version = "2026.07.0"; + version = "2026.07.1"; src = fetchFromGitHub { owner = "elax46"; repo = "custom-brand-icons"; tag = finalAttrs.version; - hash = "sha256-fmvWUt3Q+9ydvHB7t8z3/9mCLuF/llpoUo6e8K2rn/g="; + hash = "sha256-nWoZ6tArSGmZY9pn2G/2jXGEM7ip8LGQ5+1FnYFI5SI="; }; - npmDepsHash = "sha256-ZTl9+vXEBR3pvksaLWof8y1WnoL2tAL3KuPzZn7VjjE="; + npmDepsHash = "sha256-+Kn2WQ1MQMKTJ0He/k9NxUpoac9sB61zWRt2wha6c7g="; buildPhase = '' runHook preBuild diff --git a/pkgs/servers/home-assistant/custom-lovelace-modules/horizon-card/missing-hashes.json b/pkgs/servers/home-assistant/custom-lovelace-modules/horizon-card/missing-hashes.json new file mode 100644 index 000000000000..b06dcea4ea52 --- /dev/null +++ b/pkgs/servers/home-assistant/custom-lovelace-modules/horizon-card/missing-hashes.json @@ -0,0 +1,49 @@ +{ + "@rollup/rollup-android-arm-eabi@npm:4.62.2": "6dac547c55fb598364b28fce22e8bf6de991db264bf66a65b90e8facf4c46a665b68a950c77cb535c751bb2790356f022036adfd09300e400f93899164ced5ff", + "@rollup/rollup-android-arm64@npm:4.62.2": "4fcdc881d21ef3e3f58abe7d8d2c78bf38b4a84d98544ee853d9c28ce104bafc11db1a2aadf02334e185a6d99508b3a4922a6141d6b1316024325839ba82ae7d", + "@rollup/rollup-darwin-arm64@npm:4.62.2": "713a202e98108899ef1937fe8388d162efe3dded54a2247c82a3f7e9c8fc6420ce5acefd5e14af13ade67d6d6384abd4fe44a489ebd50615d66ccc6e3c727576", + "@rollup/rollup-darwin-x64@npm:4.62.2": "66901dd27b80cc5340bd8256174e720aa67cf0a77fc80b29471aa15b40e51f871aa9d034d7cb6244fc535f0529153d26d743291bd84cd1a21596f60a1092f11b", + "@rollup/rollup-freebsd-arm64@npm:4.62.2": "956a53e844ce86cd87617e0327ab49e44587904b7e5b88210b7a989b963a32ade4e9f012e9cb16a72387c9ed65920f97f82dad21df498d8ed276eb4adb4adf29", + "@rollup/rollup-freebsd-x64@npm:4.62.2": "596fba4be4e192335fe6ddc81d4758e2eb2a93b30811d9ea57f2b29920f1179661ecc88114a8d22d264964bea36014b336762ccafb6edea17967a53ff956552c", + "@rollup/rollup-linux-arm-gnueabihf@npm:4.62.2": "ae8e1596256c55a5afd37c38406dcd055db6f5cb1b4bac0c437d049b294ca7afbdf07e32cc53fee466f7dd4ae8850fc5c5aa98bfbeb1094174bd74df63b0d8b7", + "@rollup/rollup-linux-arm-musleabihf@npm:4.62.2": "ba26316840f0cf0bff410ebd25c2b63e3aba5a0ca18f31b0a40e21233d5128bf7e88c540d90b2f1746dd6bbd8f98cb5c32d4707f2d8933c1828e2ea1d12953f4", + "@rollup/rollup-linux-arm64-gnu@npm:4.62.2": "111ef1516bbc537720b5c8b7cbd216cddce05c66e4df054746486e274ad32037b0e3a63ca2619af98c39c7313d6de2cbbe8a8a277815fa9f5f7311df62347f1a", + "@rollup/rollup-linux-arm64-musl@npm:4.62.2": "0f6b0b645dc4b4f65cc012eb9e7c65b9f098a559e58d71ad0d13e171d401dc7a5185a21986880dba66eeb78484fff49b59d3c44786fdaeee255d1ba2b302b678", + "@rollup/rollup-linux-loong64-gnu@npm:4.62.2": "cbccb721e1fe8706d46af6e9507058207c57b8a9ed0c0be9f6518dd322b316d16d7e281e49d612b8fcf61d147d03269ea2e69a65fbe75292c8e08945aab1f323", + "@rollup/rollup-linux-loong64-musl@npm:4.62.2": "9f49d8a556a0e918b94f293829f4e18633c9f344703f6d85873a28bafcd64e2921ba4842c2369ce53f7be3f5d706a51ac9ba9c402a52f0d4a654682575ff126e", + "@rollup/rollup-linux-ppc64-gnu@npm:4.62.2": "fc465b8fe05ec29949d0292a5fc0b3a31660e06aea3025ba660b1da649b0e8b71d3acab92f87c0a3702a56bebec596e85aec686c9893c122db113c01558adfea", + "@rollup/rollup-linux-ppc64-musl@npm:4.62.2": "51dd2838225feba9a13b9f1544d57c6bc2bb045dfca8f35e02587bfaa83a7a822beb8a2150399e0b9af377187c96ce783fd9b349b4566ca085d61f328123b153", + "@rollup/rollup-linux-riscv64-gnu@npm:4.62.2": "ccf46a13f575dbded52f34a6d9b918f30ceed1c326ddabc80dfbafba233351b7a5ebc9837f75c005e94dc38be3c99330a498dd2fb4e663205a5ce430b983a805", + "@rollup/rollup-linux-riscv64-musl@npm:4.62.2": "4e3cac14eb0625989d73750514174b93122925785e8cfca616334b5d5159a66fbe83202ee35b11030b7948daabc4f0fdc7150fcadda496cfd90dcce34b890065", + "@rollup/rollup-linux-s390x-gnu@npm:4.62.2": "427ae75b2f5ebb50fc5de5e8e9ecda8b45efc3bc5116774a0e787b652c0e5626f1938f845fe2859984de99cc2c056df24e22de7335c11127e0bc03db4878f9f5", + "@rollup/rollup-linux-x64-gnu@npm:4.62.2": "ca4f60679adeafc13074ebbf01d7ccb7df73403b508c5789d076556ebf27160015617e8659924ee5f6c75696022afdc23fb907c87cd04ed5a2f2963e3147d8fb", + "@rollup/rollup-linux-x64-musl@npm:4.62.2": "aaf530bdff3d5b46fe9871e66210d408bd2d2faa3270a3373205b579ba12821973cc36979082a2a9b284fc32b12aee9f7f2ed6cece8b0f3e15f03cedee22b34c", + "@rollup/rollup-openbsd-x64@npm:4.62.2": "d6649b412aeb50b3f408a60795296fb197863e85dfb709858477e66802b8b4ee3bccc82b6fdf5b4d2f7f3f9c6b8269c063f8e876adba72d5b50fefd5ee67c78b", + "@rollup/rollup-openharmony-arm64@npm:4.62.2": "79474b5887dcbe10f6d33dce17ecdb17cc909bfcc5815423af23344ec881c40cd77cee84a221235f3de0a26c7bbfac0d827b2942f9d2ae1bab5d97c17555b667", + "@rollup/rollup-win32-arm64-msvc@npm:4.62.2": "7b5e48905eb92a01528b231fd14c4b67335d93afe5ed45abf3ad68df11d7925b741c5cb9139f54f20a2154249a2b3a6c73d0e949095f2f7aebd9619187e094b4", + "@rollup/rollup-win32-ia32-msvc@npm:4.62.2": "62559be5b67705a05429e4e5d7a46a0671c9c2009188d21983575399c3643400f041d5837c3e557976255556df9000209cdc8c86d8281775c0ee733cfbaadc1d", + "@rollup/rollup-win32-x64-gnu@npm:4.62.2": "247f4934585e9b82ecea1412be572da85050cd40b29c1bb3c710293da5641aa3e3bbca30de9750b2a12bb62fedd5125409b00e102df5772b37fb48bbcffcf5e1", + "@rollup/rollup-win32-x64-msvc@npm:4.62.2": "9297aad16d1abd63819c7604c6c02a3e968b188f7f15ab784cac3d0a3723a25f6fbd558b0c41663aed6a9a9ab0f356ab57978d6b009149bed7c601a4d82fbf1e", + "@unrs/resolver-binding-android-arm-eabi@npm:1.12.2": "78d31e85fbbb97d43947e0dab41409de1345d1f9eb5a40b3a291ec05c50de1414a0022ec91c9934330d196f9338106bc49ca837715e9eae8c229dc30c2421984", + "@unrs/resolver-binding-android-arm64@npm:1.12.2": "f8ef84285392f922833e60ae781fce0e0d606ddb7d9f7b673b1046ae7e341dd1f5cda5baa7e0ed41ebaa7d1125f46a52058a942e66a936609363627fb6ba1d06", + "@unrs/resolver-binding-darwin-arm64@npm:1.12.2": "608dbb1a2a3ea564d50e12634c77cd2fa245790f3ab0682dd55cefd9458bab6297bc5afe6528028e2072381e07f4b65a6ede6466c9dbf70aecd9d8d03bf0ce58", + "@unrs/resolver-binding-darwin-x64@npm:1.12.2": "eca4288f053800dd40036ff23f2cc138e4e48058f72893e7a41af2a37927ae4a497476afda16c32d82e88979b643f68da4bda7d4e17cd53faf56de0d28ccf032", + "@unrs/resolver-binding-freebsd-x64@npm:1.12.2": "1b6a38ef89c642f85c86d6fdbc93074562b4db8f486ba3f623ef3e108949f7ee62b5e237054560e71acbe1d661915747c74824f0d79eecc3f08526bdd103efc5", + "@unrs/resolver-binding-linux-arm-gnueabihf@npm:1.12.2": "94e87415c3e335595ee9f73ed7fb7ba03878e84515f656a72d039806a23801749406172e886bce06d6ad2af4fa49aa328f96608b5bf1fa345a96f5b4b6b0c63d", + "@unrs/resolver-binding-linux-arm-musleabihf@npm:1.12.2": "3270d2c551fb3364db42a1ea1d215c226923904957ea793a4e10f8fae7609446581714e1c624ffe22d59af8309d0ebe50fc5b3c2388c502215e354dd7a50bc86", + "@unrs/resolver-binding-linux-arm64-gnu@npm:1.12.2": "28008225537106ba502ff38eaf140edd1eb96f6a5c580cb608f66f13454c588511686118894d507aa4f8311d35a68f44e0e28a31be51d5ace82cd899a5023f7f", + "@unrs/resolver-binding-linux-arm64-musl@npm:1.12.2": "f904329e483fd29a69f9ce45b240b39cb9dcb0eed85ca730ea47b029ffe0f45d366a69f0ede28a9fa310e9c8ebd714f90e0de041a685801727a85ae73c0e2977", + "@unrs/resolver-binding-linux-loong64-gnu@npm:1.12.2": "a70e01e9a1661b379710e12cb7a1bf66e47b0bacfeb28ec98d41446e3e622a22d7bafcc7a79bcfdba232d02ef4fa6d6d70023782fc0429b8e69d5fb2a45b851e", + "@unrs/resolver-binding-linux-loong64-musl@npm:1.12.2": "7d479e515449b9ee3e315ed752f742f43d73308ab173e625fdca46b5c5f74db4c934fda1d71471b1160ac6899c095ca9e9b77934755130900bc49288c7b094c6", + "@unrs/resolver-binding-linux-ppc64-gnu@npm:1.12.2": "27fca56c2ba1c3e83186a5e5fb25294acfec8236ec87ebe92ca558047483d0c54760cf8571e0680081abfa395e8fcde177bd40eb1c86ec71cce08e6cf339f801", + "@unrs/resolver-binding-linux-riscv64-gnu@npm:1.12.2": "b72c979acfedfb9f3dfe4127754d8e385a4358eb1277372b253be82e30b14723e6b0125cca298027c2a5cadda79a58259c7ba99466e2a85ae2b44537549f0b29", + "@unrs/resolver-binding-linux-riscv64-musl@npm:1.12.2": "ebd42e17022db356ed79aa9ef654b4943704abb7493d341c20f97aad14ac95d0dc754dcfa7d44309a41215963178aa5e7ab3853c4873847d02cdc931e392dc0d", + "@unrs/resolver-binding-linux-s390x-gnu@npm:1.12.2": "4d3b19693df4864087791b815cfee10bbfe81078744fd9f69c07b2420053828264b541ac66c4d5665be866dfda9f365d6fe65664c77208e79467cee3624ed6ab", + "@unrs/resolver-binding-linux-x64-gnu@npm:1.12.2": "290e0c59a96cc7e940fd203828027953c6bf5f946bc2961526fae68a839d41595bf0232d31271d54cb2c2427f2eefa12dbbe06d5fc294f289d471b8ee481fd99", + "@unrs/resolver-binding-linux-x64-musl@npm:1.12.2": "c466cc2f1687acc8aebf6e34b83bb32c18d0a3c15321724c1547f9543ba4ad89282c2fdb44afe878ff4061e5321dbd760ba0161b06a17cead498209a8e7cbbd1", + "@unrs/resolver-binding-openharmony-arm64@npm:1.12.2": "87aaeb0aa1a62cc4dc1cbe5f1cf05902870eda80bb10f0dae65dd341dbad782dd5fb79430cc4a5140e4d0b4ced6828310bc97a28527fa89243f736c7685b3b38", + "@unrs/resolver-binding-wasm32-wasi@npm:1.12.2": "b9ecd9336f631c1664589e0a354e71b3747ec4d7efba1382967e10cc56750aeac8a12db133d3992286de9fbbd1c26df581651a52c4e597f33b21b3eb2fcc634a", + "@unrs/resolver-binding-win32-arm64-msvc@npm:1.12.2": "ba009d8326e6712b539fb7357eb5fbdbfff55d100c06f65c0af5880f3928a1707f3cf7ac8d55eb75adb5ae6811de77eff7cd50c8f8b59bd48766b1137fadc33e", + "@unrs/resolver-binding-win32-ia32-msvc@npm:1.12.2": "467322fec2622b9b89ccd744bc66cab7931e15d44b933f972238b034d4f3cf1b4aa7584a74f865bfd2a87201ce401fadbcd0ecf0670e76ca5f14feb148db3475", + "@unrs/resolver-binding-win32-x64-msvc@npm:1.12.2": "4fb01c3d900099b0a4a8367c4d6084b7ac493746682a6284c713d188eee628c7fba856e46a893f50c012b5c7ad6bcc7d49dc3c97fb7ae14dc49bfbaa0ccbdf35" +} diff --git a/pkgs/servers/home-assistant/custom-lovelace-modules/horizon-card/package.nix b/pkgs/servers/home-assistant/custom-lovelace-modules/horizon-card/package.nix index 31f42e9f4f6f..26e707d2ca36 100644 --- a/pkgs/servers/home-assistant/custom-lovelace-modules/horizon-card/package.nix +++ b/pkgs/servers/home-assistant/custom-lovelace-modules/horizon-card/package.nix @@ -7,13 +7,13 @@ stdenvNoCC.mkDerivation (finalAttrs: { pname = "horizon-card"; - version = "1.4.2"; + version = "1.5.0"; src = fetchFromGitHub { owner = "rejuvenate"; repo = "lovelace-horizon-card"; tag = "v${finalAttrs.version}"; - hash = "sha256-Ja4r8x9sNH6W7LoH//zfXDlQb9W7KYFz4Y9UBoqt19s="; + hash = "sha256-pUZoraOD4jLxun/I3OkIgcy45es3a0Sdh5GTEG2oNK4="; }; patches = [ @@ -27,9 +27,11 @@ stdenvNoCC.mkDerivation (finalAttrs: { yarn-berry.yarnBerryConfigHook ]; + # nix run nixpkgs#yarn-berry_4.yarn-berry-fetcher missing-hashes yarn.lock + missingHashes = ./missing-hashes.json; offlineCache = yarn-berry.fetchYarnBerryDeps { - inherit (finalAttrs) src patches; - hash = "sha256-Ztb69kAGYteVevzzFOx+62LI2i4iQakI4Fwqb6G2vuM="; + inherit (finalAttrs) src missingHashes patches; + hash = "sha256-WrBUsho7GZI/Un2zvhqZ970psDeAiESiBGJikgX3E5Q="; }; buildPhase = '' diff --git a/pkgs/servers/monitoring/grafana/plugins/update-grafana-plugin.sh b/pkgs/servers/monitoring/grafana/plugins/update-grafana-plugin.sh index 34638be8d264..1e28cab67df2 100755 --- a/pkgs/servers/monitoring/grafana/plugins/update-grafana-plugin.sh +++ b/pkgs/servers/monitoring/grafana/plugins/update-grafana-plugin.sh @@ -41,6 +41,5 @@ if echo "$api_response" | jq -e '.packages | select(length == 1) | .any' > /dev/ else update "linux-amd64" "x86_64-linux" update "linux-arm64" "aarch64-linux" - update "darwin-amd64" "x86_64-darwin" update "darwin-arm64" "aarch64-darwin" fi