From 090dc96c39f2301cda34c9e33c71e31198b65b7e Mon Sep 17 00:00:00 2001 From: Ethan Carter Edwards Date: Sun, 12 Oct 2025 00:51:22 -0400 Subject: [PATCH] rode-central: init at 2.0.101-212 Homepage: https://rode.com/en-us/apps/rode-central Signed-off-by: Ethan Carter Edwards --- pkgs/by-name/ro/rode-central/package.nix | 56 ++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 pkgs/by-name/ro/rode-central/package.nix diff --git a/pkgs/by-name/ro/rode-central/package.nix b/pkgs/by-name/ro/rode-central/package.nix new file mode 100644 index 000000000000..ce00b49fd866 --- /dev/null +++ b/pkgs/by-name/ro/rode-central/package.nix @@ -0,0 +1,56 @@ +{ + lib, + stdenv, + fetchzip, + cpio, + gzip, + xar, +}: + +stdenv.mkDerivation (finalAttrs: { + pname = "rode-central"; + version = "2.0.101-212"; + + # archive.org link used because the url is not stable and is updated frequently with new versions + src = fetchzip { + url = "https://web.archive.org/web/20250730140348/https://update.rode.com/central/RODE_Central_MACOS.zip"; + hash = "sha256-qgOosVOETeIbKBUhRvp2WGaO0mWEceOjtahF0fYrZ1E="; + }; + + strictDeps = true; + + nativeBuildInputs = [ + cpio + gzip + xar + ]; + + unpackPhase = '' + runHook preUnpack + + xar -xf $src/RØDE\ Central\ \(${finalAttrs.version}\).pkg + zcat RodeCentral.pkg/Payload | cpio -i + + runHook postUnpack + ''; + + installPhase = '' + runHook preInstall + + mkdir -p $out/Applications + mv Applications/RODE\ Central.app $out/Applications + + runHook postInstall + ''; + + meta = { + description = "Companion app for configuring compatible RØDE devices, unlocking advanced features, enabling or disabling functions and updating firmware"; + homepage = "https://rode.com/en-us/apps/rode-central"; + changelog = "https://rode.com/en-us/release-notes/rode-central"; + license = [ lib.licenses.unfree ]; + sourceProvenance = [ lib.sourceTypes.binaryNativeCode ]; + maintainers = with lib.maintainers; [ ethancedwards8 ]; + platforms = lib.platforms.darwin; + hydraPlatforms = [ ]; + }; +})