Merge pull request #115157 from r-burns/aws-c-common-musl

authored by Jörg Thalheim and committed by GitHub a97a7cd1 158578de

+9 -8
+6 -5
pkgs/development/libraries/aws-c-common/default.nix
··· 2 3 stdenv.mkDerivation rec { 4 pname = "aws-c-common"; 5 - version = "0.4.64"; 6 7 src = fetchFromGitHub { 8 owner = "awslabs"; 9 repo = pname; 10 rev = "v${version}"; 11 - sha256 = "sha256-izEZMOPHj/9EL78b/t3M0Tki6eA8eRrpG7DO2tkpf1A="; 12 }; 13 14 patches = [ ··· 23 24 cmakeFlags = [ 25 "-DBUILD_SHARED_LIBS=ON" 26 ]; 27 28 NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isDarwin 29 "-Wno-nullability-extension -Wno-typedef-redefinition"; 30 31 meta = with lib; { 32 description = "AWS SDK for C common core"; 33 homepage = "https://github.com/awslabs/aws-c-common"; 34 license = licenses.asl20; 35 platforms = platforms.unix; 36 - maintainers = with maintainers; [ orivej eelco ]; 37 - # https://github.com/awslabs/aws-c-common/issues/754 38 - broken = stdenv.hostPlatform.isMusl; 39 }; 40 }
··· 2 3 stdenv.mkDerivation rec { 4 pname = "aws-c-common"; 5 + version = "0.5.2"; 6 7 src = fetchFromGitHub { 8 owner = "awslabs"; 9 repo = pname; 10 rev = "v${version}"; 11 + sha256 = "0rd2qzaa9mmn5f6f2bl1wgv54f17pqx3vwyy9f8ylh59qfnilpmg"; 12 }; 13 14 patches = [ ··· 23 24 cmakeFlags = [ 25 "-DBUILD_SHARED_LIBS=ON" 26 + "-DCMAKE_SKIP_BUILD_RPATH=OFF" # for tests 27 ]; 28 29 NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isDarwin 30 "-Wno-nullability-extension -Wno-typedef-redefinition"; 31 32 + doCheck = true; 33 + 34 meta = with lib; { 35 description = "AWS SDK for C common core"; 36 homepage = "https://github.com/awslabs/aws-c-common"; 37 license = licenses.asl20; 38 platforms = platforms.unix; 39 + maintainers = with maintainers; [ orivej eelco r-burns ]; 40 }; 41 }
+2 -2
pkgs/development/libraries/aws-c-io/default.nix
··· 2 3 stdenv.mkDerivation rec { 4 pname = "aws-c-io"; 5 - version = "0.7.1"; 6 7 src = fetchFromGitHub { 8 owner = "awslabs"; 9 repo = pname; 10 rev = "v${version}"; 11 - sha256 = "sha256-dDvq5clOUaPR7lOCJ/1g0lrCzVOmzwCnqHrBZfBewO4="; 12 }; 13 14 nativeBuildInputs = [ cmake ];
··· 2 3 stdenv.mkDerivation rec { 4 pname = "aws-c-io"; 5 + version = "0.9.1"; 6 7 src = fetchFromGitHub { 8 owner = "awslabs"; 9 repo = pname; 10 rev = "v${version}"; 11 + sha256 = "0lx72p9xmmnjkz4zkfb1lz0ibw0jsy52qpydhvn56bq85nv44rwx"; 12 }; 13 14 nativeBuildInputs = [ cmake ];
+1 -1
pkgs/tools/package-management/nix/default.nix
··· 22 , stateDir 23 , confDir 24 , withLibseccomp ? lib.any (lib.meta.platformMatch stdenv.hostPlatform) libseccomp.meta.platforms, libseccomp 25 - , withAWS ? !enableStatic && !stdenv.hostPlatform.isMusl && (stdenv.isLinux || stdenv.isDarwin), aws-sdk-cpp 26 , enableStatic ? stdenv.hostPlatform.isStatic 27 , name, suffix ? "", src 28 , patches ? [ ]
··· 22 , stateDir 23 , confDir 24 , withLibseccomp ? lib.any (lib.meta.platformMatch stdenv.hostPlatform) libseccomp.meta.platforms, libseccomp 25 + , withAWS ? !enableStatic && (stdenv.isLinux || stdenv.isDarwin), aws-sdk-cpp 26 , enableStatic ? stdenv.hostPlatform.isStatic 27 , name, suffix ? "", src 28 , patches ? [ ]