fb303: convert to new Darwin SDK pattern

This commit is contained in:
Emily
2024-11-18 17:44:15 +00:00
parent 6582129eab
commit 87a7353f0c
2 changed files with 16 additions and 13 deletions
+15 -12
View File
@@ -9,6 +9,8 @@
glog,
python3,
wangle,
apple-sdk_11,
darwinMinVersionHook,
}:
stdenv.mkDerivation rec {
@@ -23,23 +25,24 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [ cmake ];
cmakeFlags =
cmakeFlags = [
"-DPYTHON_EXTENSIONS=OFF"
];
buildInputs =
[
"-DPYTHON_EXTENSIONS=OFF"
fbthrift
fizz
folly
glog
python3
wangle
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
"-DCMAKE_OSX_DEPLOYMENT_TARGET=10.14" # For aligned allocation
apple-sdk_11
(darwinMinVersionHook "11.0")
];
buildInputs = [
fbthrift
fizz
folly
glog
python3
wangle
];
meta = with lib; {
description = "Base Thrift service and a common set of functionality for querying stats, options, and other information from a service";
homepage = "https://github.com/facebook/fb303";
+1 -1
View File
@@ -9242,7 +9242,7 @@ with pkgs;
autoreconfHook = buildPackages.autoreconfHook269;
};
fb303 = darwin.apple_sdk_11_0.callPackage ../development/libraries/fb303 { };
fb303 = callPackage ../development/libraries/fb303 { };
inherit (callPackage ../development/libraries/ffmpeg { })
ffmpeg_4