Merge pull request #153836 from veprbl/pr/aws-sdk-cpp_fix_cmake_config

[staging-next] aws-sdk-cpp: fix cmake config
This commit is contained in:
Dmitry Kalinkin 2022-01-08 05:51:51 -05:00 committed by GitHub
commit ad484cca94
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, cmake, curl, openssl, s2n-tls, zlib
{ 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
@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
version = "1.9.121";
src = fetchFromGitHub {
owner = "awslabs";
owner = "aws";
repo = "aws-sdk-cpp";
rev = version;
sha256 = "sha256-VQpWauk0tdJ1QU0HmtdTwQdKbiAuTTXXsUo2cqpqmdU=";
@ -82,6 +82,12 @@ stdenv.mkDerivation rec {
patches = [
./cmake-dirs.patch
# fix cmake config
(fetchpatch {
url = "https://github.com/aws/aws-sdk-cpp/commit/b102aaf5693c4165c84b616ab9ffb9edfb705239.diff";
sha256 = "sha256-38QBo3MEFpyHPb8jZEURRPkoeu4DqWhVeErJayiHKF0=";
})
];
# Builds in 2+h with 2 cores, and ~10m with a big-parallel builder.
@ -89,7 +95,7 @@ stdenv.mkDerivation rec {
meta = with lib; {
description = "A C++ interface for Amazon Web Services";
homepage = "https://github.com/awslabs/aws-sdk-cpp";
homepage = "https://github.com/aws/aws-sdk-cpp";
license = licenses.asl20;
platforms = platforms.unix;
maintainers = with maintainers; [ eelco orivej ];