mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-07 20:53:22 +00:00
blueutil: use the new apple-sdk (#352660)
This commit is contained in:
commit
1fdcec35b2
@ -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 = ''
|
||||
|
Loading…
Reference in New Issue
Block a user