7 stdenv.mkDerivation rec {
8 pname = "aws-c-common";
11 src = fetchFromGitHub {
15 sha256 = "sha256-NH66WAOqAaMm/IIu8L5R7CUFhX56yTLH7mPY1Q4jDC4=";
18 nativeBuildInputs = [ cmake ];
21 "-DBUILD_SHARED_LIBS=ON"
22 "-DCMAKE_SKIP_BUILD_RPATH=OFF" # for tests
25 NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isDarwin
26 "-Wno-nullability-extension -Wno-typedef-redefinition";
31 description = "AWS SDK for C common core";
32 homepage = "https://github.com/awslabs/aws-c-common";
33 license = licenses.asl20;
34 platforms = platforms.unix;
35 maintainers = with maintainers; [ orivej eelco r-burns ];