screen-pipe: Remove remaining darwin.apple_sdk_12_3 use (#399032)

This commit is contained in:
Emily 2025-04-16 19:03:09 +01:00 committed by GitHub
commit 2bf0209386
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -9,9 +9,9 @@
openssl,
sqlite,
stdenv,
darwin,
alsa-lib,
xorg,
apple-sdk_12,
}:
rustPlatform.buildRustPackage rec {
pname = "screen-pipe";
@ -49,22 +49,9 @@ rustPlatform.buildRustPackage rec {
openssl
sqlite
]
++ lib.optionals stdenv.hostPlatform.isDarwin (
with darwin.apple_sdk_12_3.frameworks;
[
CoreAudio
AudioUnit
CoreFoundation
CoreGraphics
CoreMedia
IOKit
Metal
MetalPerformanceShaders
Security
ScreenCaptureKit
SystemConfiguration
]
)
++ lib.optionals stdenv.hostPlatform.isDarwin [
apple-sdk_12
]
++ lib.optionals stdenv.hostPlatform.isLinux [
alsa-lib
xorg.libxcb