Commit 33940445 authored by Zhong Jianxin's avatar Zhong Jianxin
Browse files

blueutil: use the new apple-sdk

parent 870ac829
Loading
Loading
Loading
Loading
+0 −9
Original line number Diff line number Diff line
@@ -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 = ''