3
0
Fork 0
forked from mirrors/nixpkgs

aws-crt-cpp: 0.17.28 -> 0.17.32

The second patch is included in upstream.
This commit is contained in:
Jiajie Chen 2022-07-07 11:05:40 +08:00
parent 93bcddc2f8
commit 6e701d7c44

View file

@ -1,6 +1,5 @@
{ lib, stdenv
, fetchFromGitHub
, fetchpatch
, aws-c-auth
, aws-c-cal
, aws-c-common
@ -17,7 +16,7 @@
stdenv.mkDerivation rec {
pname = "aws-crt-cpp";
version = "0.17.28";
version = "0.17.32";
outputs = [ "out" "dev" ];
@ -25,22 +24,13 @@ stdenv.mkDerivation rec {
owner = "awslabs";
repo = "aws-crt-cpp";
rev = "v${version}";
sha256 = "sha256-4/BgwX8Pa5D2lEn0Dh3JlUiYUtA9u0rWpBixqmv1X/A=";
sha256 = "sha256-Za2+7stcdrKou8DlfIIYGu5RYqS2FG5zCITm9pFSWX0=";
};
patches = [
# Correct include path for split outputs.
# https://github.com/awslabs/aws-crt-cpp/pull/325
./0001-build-Make-includedir-properly-overrideable.patch
# Fix build with new input stream api
# https://github.com/awslabs/aws-crt-cpp/pull/341
# Remove with next release
(fetchpatch {
url = "https://github.com/awslabs/aws-crt-cpp/commit/8adb8490fd4f1d1fe65aad01b0a7dda0e52ac596.patch";
excludes = [ "crt/*" ];
sha256 = "190v8rlj6z0qllih6w3kqmdvqjifj66hc4bchsgr3gpfv18vpzid";
})
];
postPatch = ''