spotify-player: clean up old darwin SDK pattern

(cherry picked from commit c5472cf2b6)
This commit is contained in:
Olivér Falvai 2024-11-14 08:37:24 +01:00 committed by github-actions[bot]
parent cfd190dd43
commit ed9b773ef3

View File

@ -27,7 +27,6 @@
withSixel ? true,
withFuzzy ? true,
stdenv,
darwin,
makeBinaryWrapper,
# passthru
@ -91,18 +90,7 @@ rustPlatform.buildRustPackage rec {
gst_all_1.gst-devtools
gst_all_1.gst-plugins-base
gst_all_1.gst-plugins-good
]
++ lib.optionals (stdenv.hostPlatform.isDarwin && withMediaControl) [
darwin.apple_sdk.frameworks.MediaPlayer
]
++ lib.optionals stdenv.hostPlatform.isDarwin (
with darwin.apple_sdk.frameworks;
[
AppKit
AudioUnit
Cocoa
]
);
];
buildNoDefaultFeatures = true;