Running nixpkgs-update (https://nix-community.org/update-bot/) with UPDATE_INFO: aws-c-common 0.12.4 -> 1.0.2 https://github.com/awslabs/aws-c-common/releases attrpath: aws-c-common Checking auto update branch... No auto update branch exists Old version 0.12.4" not present in staging derivation file with contents: { lib, stdenv, fetchFromGitHub, cmake, nix, }: stdenv.mkDerivation (finalAttrs: { pname = "aws-c-common"; # nixpkgs-update: no auto update version = "1.0.0"; src = fetchFromGitHub { owner = "awslabs"; repo = "aws-c-common"; rev = "v${finalAttrs.version}"; hash = "sha256-m3CZwGUDnI+DIrxMPGpjVszZ0UI2aSQ18afbscafW6o="; }; nativeBuildInputs = [ cmake ]; cmakeFlags = [ "-DBUILD_SHARED_LIBS=ON" ] ++ lib.optionals stdenv.hostPlatform.isRiscV [ "-DCMAKE_C_FLAGS=-fasynchronous-unwind-tables" ]; # aws-c-common misuses cmake modules, so we need # to manually add a MODULE_PATH to its consumers setupHook = ./setup-hook.sh; # Prevent the execution of tests known to be flaky. preCheck = let ignoreTests = [ "promise_test_multiple_waiters" # Flaky test https://github.com/NixOS/nixpkgs/issues/443233 "test_memory_usage_maxrss" # Broken upstream test https://github.com/NixOS/nixpkgs/pull/565568#issuecomment-5802423215 "test_file_path_read_from_offset_direct_io" ]; in '' cat <CTestCustom.cmake SET(CTEST_CUSTOM_TESTS_IGNORE ${toString ignoreTests}) EOW ''; doCheck = true; passthru.tests = { inherit nix; }; meta = { description = "AWS SDK for C common core"; homepage = "https://github.com/awslabs/aws-c-common"; license = lib.licenses.asl20; platforms = lib.platforms.unix; # https://github.com/awslabs/aws-c-common/issues/1175 badPlatforms = lib.platforms.bigEndian; maintainers = with lib.maintainers; [ r-burns ]; }; })