Files
nixpkgs/pkgs/by-name/ai/airbuddy/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

54 lines
1.4 KiB
Nix

{
lib,
stdenvNoCC,
fetchurl,
_7zz,
}:
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "airbuddy";
version = "2.7.3";
src = fetchurl {
name = "AirBuddy.dmg";
url = "https://download.airbuddy.app/WebDownload/AirBuddy_v${finalAttrs.version}.dmg";
hash = "sha256-cwvSFvaREbF+JvV5Y5dFaj6fZbzdzcjBgzdQ9WDcCFY=";
};
dontPatch = true;
dontConfigure = true;
dontBuild = true;
dontFixup = true;
# AirBuddy.dmg is APFS formatted, unpack with 7zz
nativeBuildInputs = [ _7zz ];
sourceRoot = "AirBuddy.app";
installPhase = ''
runHook preInstall
mkdir -p $out/Applications/AirBuddy.app
cp -R . $out/Applications/AirBuddy.app
runHook postInstall
'';
meta = with lib; {
description = "Take Control of Your Wireless Devices on macOS";
longDescription = ''
Open your AirPods case next to your Mac to see the status right away, just like it works on your iPhone or iPad.
AirBuddy lives in your Menu Bar and can also show battery information for your iPhone, iPad, Apple Watch, Mouse, Keyboard, and more.
'';
homepage = "https://v2.airbuddy.app";
changelog = "https://support.airbuddy.app/articles/airbuddy-2-changelog";
license = with licenses; [ unfree ];
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
maintainers = with maintainers; [ stepbrobd ];
platforms = [
"aarch64-darwin"
"x86_64-darwin"
];
};
})