libbtbb: fix Darwin build
Signed-off-by: Sirio Balmelli <sirio@b-ad.ch>
This commit is contained in:
parent
0ba57d89ca
commit
aad3e911ca
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, lib, fetchFromGitHub, cmake }:
|
{ stdenv, lib, fetchFromGitHub, cmake, CoreServices }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "libbtbb";
|
pname = "libbtbb";
|
||||||
|
@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "1byv8174xam7siakr1p0523x97wkh0fmwmq341sd3g70qr2g767d";
|
sha256 = "1byv8174xam7siakr1p0523x97wkh0fmwmq341sd3g70qr2g767d";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake ];
|
nativeBuildInputs = [ cmake ] ++ lib.optionals stdenv.isDarwin [ CoreServices ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Bluetooth baseband decoding library";
|
description = "Bluetooth baseband decoding library";
|
||||||
|
|
|
@ -5875,7 +5875,9 @@ with pkgs;
|
||||||
|
|
||||||
libbladeRF = callPackage ../development/libraries/libbladeRF { };
|
libbladeRF = callPackage ../development/libraries/libbladeRF { };
|
||||||
|
|
||||||
libbtbb = callPackage ../development/libraries/libbtbb { };
|
libbtbb = callPackage ../development/libraries/libbtbb {
|
||||||
|
inherit (darwin.apple_sdk.frameworks) CoreServices;
|
||||||
|
};
|
||||||
|
|
||||||
lp_solve = callPackage ../applications/science/math/lp_solve {
|
lp_solve = callPackage ../applications/science/math/lp_solve {
|
||||||
inherit (darwin) cctools;
|
inherit (darwin) cctools;
|
||||||
|
|
Loading…
Reference in a new issue