Merge pull request #125969 from cpcloud/aws-sdk-propagate

This commit is contained in:
Sandro 2021-06-09 01:56:36 +02:00 committed by GitHub
commit 01c1405f1c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,15 +25,21 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake curl ];
buildInputs = [
curl openssl s2n-tls zlib
aws-c-common aws-c-event-stream aws-checksums
curl openssl zlib
] ++ lib.optionals (stdenv.isDarwin &&
((builtins.elem "text-to-speech" apis) ||
(builtins.elem "*" apis)))
[ CoreAudio AudioToolbox ];
# propagation is needed for Security.framework to be available when linking
propagatedBuildInputs = [ aws-c-cal aws-c-io ];
propagatedBuildInputs = [
aws-c-cal
aws-c-event-stream
aws-c-io
aws-c-common
aws-checksums
s2n-tls
];
cmakeFlags = [
"-DBUILD_DEPS=OFF"