Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #55754 from orivej/aws-sdk-cpp
aws-sdk-cpp: 1.6.52 -> 1.7.49; add aws-checksums, aws-c-common, aws-c-event-stream
- Loading branch information
Showing
5 changed files
with
103 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ lib, stdenv, fetchFromGitHub, cmake }: | ||
|
||
stdenv.mkDerivation rec { | ||
pname = "aws-c-common"; | ||
version = "0.3.2"; | ||
|
||
src = fetchFromGitHub { | ||
owner = "awslabs"; | ||
repo = pname; | ||
rev = "v${version}"; | ||
sha256 = "169ha105qgcvj93hf1bhlya2nlwh8g5fvypd6whfjs9k0hqddi0c"; | ||
}; | ||
|
||
nativeBuildInputs = [ cmake ]; | ||
|
||
NIX_CFLAGS_COMPILE = lib.optionals stdenv.isDarwin [ | ||
"-Wno-nullability-extension" | ||
"-Wno-typedef-redefinition" | ||
]; | ||
|
||
meta = with lib; { | ||
description = "AWS SDK for C common core"; | ||
homepage = https://github.com/awslabs/aws-c-common; | ||
license = licenses.asl20; | ||
platforms = platforms.unix; | ||
maintainers = with maintainers; [ orivej eelco ]; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ lib, stdenv, fetchFromGitHub, cmake, aws-c-common, aws-checksums }: | ||
|
||
stdenv.mkDerivation rec { | ||
pname = "aws-c-event-stream"; | ||
version = "0.1.1"; | ||
|
||
src = fetchFromGitHub { | ||
owner = "awslabs"; | ||
repo = pname; | ||
rev = "v${version}"; | ||
sha256 = "0anjynfghk3inysy21wqvhxha33xsswh3lm8pr7nx7cpj6cmr37m"; | ||
}; | ||
|
||
nativeBuildInputs = [ cmake ]; | ||
|
||
buildInputs = [ aws-c-common aws-checksums ]; | ||
|
||
cmakeFlags = [ | ||
"-DCMAKE_MODULE_PATH=${aws-c-common}/lib/cmake" | ||
]; | ||
|
||
meta = with lib; { | ||
description = "C99 implementation of the vnd.amazon.eventstream content-type"; | ||
homepage = https://github.com/awslabs/aws-c-event-stream; | ||
license = licenses.asl20; | ||
platforms = platforms.unix; | ||
maintainers = with maintainers; [ orivej eelco ]; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ lib, stdenv, fetchFromGitHub, cmake }: | ||
|
||
stdenv.mkDerivation rec { | ||
pname = "aws-checksums"; | ||
version = "0.1.2"; | ||
|
||
src = fetchFromGitHub { | ||
owner = "awslabs"; | ||
repo = pname; | ||
rev = "v${version}"; | ||
sha256 = "1r21sfs1ik6cb8bz17w6gp6y2xa9rbjxjka0p6airb3qds094iv5"; | ||
}; | ||
|
||
nativeBuildInputs = [ cmake ]; | ||
|
||
meta = with lib; { | ||
description = "HW accelerated CRC32c and CRC32"; | ||
homepage = https://github.com/awslabs/aws-checksums; | ||
license = licenses.asl20; | ||
platforms = platforms.unix; | ||
maintainers = with maintainers; [ orivej eelco ]; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters