jsoncpp: enable and fix on darwin (#15845)

authored by

Matthew Justin Bauer and committed by
Robin Gloster
9dd563bb 3ecd527a

+3
+3
pkgs/development/libraries/jsoncpp/default.nix
··· 28 29 nativeBuildInputs = [ cmake python ]; 30 31 cmakeFlags = [ 32 "-DJSONCPP_LIB_BUILD_SHARED=ON" 33 "-DJSONCPP_LIB_BUILD_STATIC=OFF" ··· 39 homepage = https://github.com/open-source-parsers/jsoncpp; 40 description = "A simple API to manipulate JSON data in C++"; 41 maintainers = with stdenv.lib.maintainers; [ ttuegel page ]; 42 license = stdenv.lib.licenses.mit; 43 branch = "1.6"; 44 };
··· 28 29 nativeBuildInputs = [ cmake python ]; 30 31 + CXXFLAGS = "-Wno-shift-negative-value"; 32 + 33 cmakeFlags = [ 34 "-DJSONCPP_LIB_BUILD_SHARED=ON" 35 "-DJSONCPP_LIB_BUILD_STATIC=OFF" ··· 41 homepage = https://github.com/open-source-parsers/jsoncpp; 42 description = "A simple API to manipulate JSON data in C++"; 43 maintainers = with stdenv.lib.maintainers; [ ttuegel page ]; 44 + platforms = stdenv.lib.platforms.all; 45 license = stdenv.lib.licenses.mit; 46 branch = "1.6"; 47 };