rapidjson-unstable: Remove C++11 mode.

This is because the current version of gtest only supports C++14 and above.

+3 -5
+3 -5
pkgs/development/libraries/rapidjson/unstable.nix
··· 6 , graphviz 7 , gtest 8 , valgrind 9 - # One of "11" or "17"; default in source is CXX 11 10 - , cxxStandard ? "11" 11 , buildDocs ? true 12 , buildTests ? !stdenv.hostPlatform.isStatic && !stdenv.isDarwin 13 , buildExamples ? true ··· 49 (lib.cmakeBool "RAPIDJSON_BUILD_DOC" buildDocs) 50 (lib.cmakeBool "RAPIDJSON_BUILD_TESTS" buildTests) 51 (lib.cmakeBool "RAPIDJSON_BUILD_EXAMPLES" buildExamples) 52 - (lib.cmakeBool "RAPIDJSON_BUILD_CXX11" (cxxStandard == "11")) 53 - (lib.cmakeBool "RAPIDJSON_BUILD_CXX17" (cxxStandard == "17")) 54 ] ++ lib.optionals buildTests [ 55 (lib.cmakeFeature "GTEST_INCLUDE_DIR" "${lib.getDev gtest}") 56 ]; ··· 77 license = licenses.mit; 78 platforms = platforms.unix; 79 maintainers = with maintainers; [ Madouura ]; 80 - broken = (cxxStandard != "11" && cxxStandard != "17"); 81 }; 82 })
··· 6 , graphviz 7 , gtest 8 , valgrind 9 , buildDocs ? true 10 , buildTests ? !stdenv.hostPlatform.isStatic && !stdenv.isDarwin 11 , buildExamples ? true ··· 47 (lib.cmakeBool "RAPIDJSON_BUILD_DOC" buildDocs) 48 (lib.cmakeBool "RAPIDJSON_BUILD_TESTS" buildTests) 49 (lib.cmakeBool "RAPIDJSON_BUILD_EXAMPLES" buildExamples) 50 + # gtest 1.13+ requires C++14 or later. 51 + (lib.cmakeBool "RAPIDJSON_BUILD_CXX11" false) 52 + (lib.cmakeBool "RAPIDJSON_BUILD_CXX17" true) 53 ] ++ lib.optionals buildTests [ 54 (lib.cmakeFeature "GTEST_INCLUDE_DIR" "${lib.getDev gtest}") 55 ]; ··· 76 license = licenses.mit; 77 platforms = platforms.unix; 78 maintainers = with maintainers; [ Madouura ]; 79 }; 80 })