blueutil: use the new apple-sdk (#352660)

This commit is contained in:
Peder Bergebakken Sundt
2024-11-05 21:59:19 +01:00
committed by GitHub
-9
View File
@@ -2,14 +2,10 @@
lib,
stdenv,
fetchFromGitHub,
darwin,
testers,
nix-update-script,
}:
let
inherit (darwin.apple_sdk.frameworks) Foundation IOBluetooth;
in
stdenv.mkDerivation (finalAttrs: {
pname = "blueutil";
version = "2.10.0";
@@ -21,11 +17,6 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-x2khx8Y0PolpMiyrBatT2aHHyacrQVU/02Z4Dz9fBtI=";
};
buildInputs = [
Foundation
IOBluetooth
];
env.NIX_CFLAGS_COMPILE = "-Wall -Wextra -Werror -mmacosx-version-min=10.9 -framework Foundation -framework IOBluetooth";
installPhase = ''