diff options
author | Artturin <Artturin@artturin.com> | 2023-04-10 00:57:18 +0300 |
---|---|---|
committer | Artturin <Artturin@artturin.com> | 2023-04-10 19:03:41 +0300 |
commit | 4a398303318f3be670f78832f3bc05f57356c400 (patch) | |
tree | 5e2aace6a7cdbb77100a93bc6e6d6d6cc2f0710d /pkgs/development/libraries/aws-sdk-cpp | |
parent | ffd01fe9e1ec389dc255c75356a9149c7e99baaf (diff) |
aws-sdk-cpp: 1.9.294 -> 1.11.37
The following warning should be looked in to ``` CMake Warning at CMakeLists.txt:9 (message): In 1.11 releases, we are releasing experimental alternative building mode.By setting -DLEGACY_MODE=OFF you can test our advances in modern CMake building and provide early feedback. The legacy support is set by default in 1.11, when you complete build updating scripts please update the build flags as mentioned in README.md and set -DLEGACY_BUILD=OFF. The legacy support will be removed at 1.12.0 release. ``` Co-authored-by: Tobias Mayer <tobim@fastmail.fm>
Diffstat (limited to 'pkgs/development/libraries/aws-sdk-cpp')
-rw-r--r-- | pkgs/development/libraries/aws-sdk-cpp/default.nix | 34 |
1 files changed, 6 insertions, 28 deletions
diff --git a/pkgs/development/libraries/aws-sdk-cpp/default.nix b/pkgs/development/libraries/aws-sdk-cpp/default.nix index bb7989a2cbf5e..e1711d4cd59e3 100644 --- a/pkgs/development/libraries/aws-sdk-cpp/default.nix +++ b/pkgs/development/libraries/aws-sdk-cpp/default.nix @@ -1,18 +1,11 @@ { lib , stdenv , fetchFromGitHub -, fetchpatch , cmake , curl , openssl -, s2n-tls , zlib , aws-crt-cpp -, aws-c-cal -, aws-c-common -, aws-c-event-stream -, aws-c-io -, aws-checksums , CoreAudio , AudioToolbox , # Allow building a limited set of APIs, e.g. ["s3" "ec2"]. @@ -31,13 +24,13 @@ in stdenv.mkDerivation rec { pname = "aws-sdk-cpp"; - version = "1.9.294"; + version = "1.11.37"; src = fetchFromGitHub { owner = "aws"; repo = "aws-sdk-cpp"; rev = version; - sha256 = "sha256-Z1eRKW+8nVD53GkNyYlZjCcT74MqFqqRMeMc33eIQ9g="; + sha256 = "sha256-C1PdLNagoIMk9/AAV2Pp7kWcspasJtN9Tx679FnEprc="; }; patches = [ @@ -50,30 +43,15 @@ stdenv.mkDerivation rec { substituteInPlace cmake/compiler_settings.cmake \ --replace '"-Werror"' ' ' - # Missing includes for GCC11 - sed '5i#include <thread>' -i \ - aws-cpp-sdk-cloudfront-integration-tests/CloudfrontOperationTest.cpp \ - aws-cpp-sdk-cognitoidentity-integration-tests/IdentityPoolOperationTest.cpp \ - aws-cpp-sdk-dynamodb-integration-tests/TableOperationTest.cpp \ - aws-cpp-sdk-elasticfilesystem-integration-tests/ElasticFileSystemTest.cpp \ - aws-cpp-sdk-lambda-integration-tests/FunctionTest.cpp \ - aws-cpp-sdk-mediastore-data-integration-tests/MediaStoreDataTest.cpp \ - aws-cpp-sdk-queues/source/sqs/SQSQueue.cpp \ - aws-cpp-sdk-redshift-integration-tests/RedshiftClientTest.cpp \ - aws-cpp-sdk-s3-crt-integration-tests/BucketAndObjectOperationTest.cpp \ - aws-cpp-sdk-s3-integration-tests/BucketAndObjectOperationTest.cpp \ - aws-cpp-sdk-s3control-integration-tests/S3ControlTest.cpp \ - aws-cpp-sdk-sqs-integration-tests/QueueOperationTest.cpp \ - aws-cpp-sdk-transfer-tests/TransferTests.cpp # Flaky on Hydra - rm aws-cpp-sdk-core-tests/aws/auth/AWSCredentialsProviderTest.cpp + rm tests/aws-cpp-sdk-core-tests/aws/auth/AWSCredentialsProviderTest.cpp # Includes aws-c-auth private headers, so only works with submodule build - rm aws-cpp-sdk-core-tests/aws/auth/AWSAuthSignerTest.cpp + rm tests/aws-cpp-sdk-core-tests/aws/auth/AWSAuthSignerTest.cpp # TestRandomURLMultiThreaded fails - rm aws-cpp-sdk-core-tests/http/HttpClientTest.cpp + rm tests/aws-cpp-sdk-core-tests/http/HttpClientTest.cpp '' + lib.optionalString stdenv.isi686 '' # EPSILON is exceeded - rm aws-cpp-sdk-core-tests/aws/client/AdaptiveRetryStrategyTest.cpp + rm tests/aws-cpp-sdk-core-tests/aws/client/AdaptiveRetryStrategyTest.cpp ''; # FIXME: might be nice to put different APIs in different outputs |