forked from mirrors/nixpkgs
aws-c-common: 0.4.64 -> 0.5.2, unmark musl broken, enable tests
Release 0.5.2 fixes musl support
This commit is contained in:
parent
96e9a7c30b
commit
46225faef5
|
@ -2,13 +2,13 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "aws-c-common";
|
||||
version = "0.4.64";
|
||||
version = "0.5.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "awslabs";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-izEZMOPHj/9EL78b/t3M0Tki6eA8eRrpG7DO2tkpf1A=";
|
||||
sha256 = "0rd2qzaa9mmn5f6f2bl1wgv54f17pqx3vwyy9f8ylh59qfnilpmg";
|
||||
};
|
||||
|
||||
patches = [
|
||||
|
@ -23,18 +23,19 @@ stdenv.mkDerivation rec {
|
|||
|
||||
cmakeFlags = [
|
||||
"-DBUILD_SHARED_LIBS=ON"
|
||||
"-DCMAKE_SKIP_BUILD_RPATH=OFF" # for tests
|
||||
];
|
||||
|
||||
NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isDarwin
|
||||
"-Wno-nullability-extension -Wno-typedef-redefinition";
|
||||
|
||||
doCheck = true;
|
||||
|
||||
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 ];
|
||||
# https://github.com/awslabs/aws-c-common/issues/754
|
||||
broken = stdenv.hostPlatform.isMusl;
|
||||
maintainers = with maintainers; [ orivej eelco r-burns ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue