Merge pull request #240625 from StepBroBD/airbuddy

airbuddy: init at 2.6.3

authored by

Pol Dellaiera and committed by
GitHub
633ca943 2b73d5c2

+50
+48
pkgs/os-specific/darwin/airbuddy/default.nix
··· 1 + { lib 2 + , stdenvNoCC 3 + , fetchurl 4 + , undmg 5 + }: 6 + 7 + stdenvNoCC.mkDerivation (finalAttrs: { 8 + pname = "airbuddy"; 9 + version = "2.6.3"; 10 + 11 + src = fetchurl { 12 + name = "AirBuddy.dmg"; 13 + url = "https://download.airbuddy.app/WebDownload/AirBuddy_v${finalAttrs.version}.dmg"; 14 + hash = "sha256-q/Mbkm90ptIkdTLV2KDT9CM2Hsxnkway5Fw0F6d7Tqc="; 15 + }; 16 + 17 + dontPatch = true; 18 + dontConfigure = true; 19 + dontBuild = true; 20 + dontFixup = true; 21 + 22 + nativeBuildInputs = [ undmg ]; 23 + 24 + sourceRoot = "AirBuddy.app"; 25 + 26 + installPhase = '' 27 + runHook preInstall 28 + 29 + mkdir -p $out/Applications/AirBuddy.app 30 + cp -R . $out/Applications/AirBuddy.app 31 + 32 + runHook postInstall 33 + ''; 34 + 35 + meta = with lib; { 36 + description = "Take Control of Your Wireless Devices on macOS"; 37 + longDescription = '' 38 + Open your AirPods case next to your Mac to see the status right away, just like it works on your iPhone or iPad. 39 + AirBuddy lives in your Menu Bar and can also show battery information for your iPhone, iPad, Apple Watch, Mouse, Keyboard, and more. 40 + ''; 41 + homepage = "https://v2.airbuddy.app"; 42 + changelog = "https://support.airbuddy.app/articles/airbuddy-2-changelog"; 43 + license = with licenses; [ unfree ]; 44 + sourceProvenance = with sourceTypes; [ binaryNativeCode ]; 45 + maintainers = with maintainers; [ stepbrobd ]; 46 + platforms = [ "aarch64-darwin" "x86_64-darwin" ]; 47 + }; 48 + })
+2
pkgs/top-level/all-packages.nix
··· 26913 26913 26914 26914 ### OS-SPECIFIC 26915 26915 26916 + airbuddy = callPackage ../os-specific/darwin/airbuddy { }; 26917 + 26916 26918 afuse = callPackage ../os-specific/linux/afuse { }; 26917 26919 26918 26920 autofs5 = callPackage ../os-specific/linux/autofs { };