jsoncpp: enable and fix on darwin (#15845)
This commit is contained in:
parent
3ecd527af0
commit
9dd563bb12
@ -28,6 +28,8 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
nativeBuildInputs = [ cmake python ];
|
nativeBuildInputs = [ cmake python ];
|
||||||
|
|
||||||
|
CXXFLAGS = "-Wno-shift-negative-value";
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DJSONCPP_LIB_BUILD_SHARED=ON"
|
"-DJSONCPP_LIB_BUILD_SHARED=ON"
|
||||||
"-DJSONCPP_LIB_BUILD_STATIC=OFF"
|
"-DJSONCPP_LIB_BUILD_STATIC=OFF"
|
||||||
@ -39,6 +41,7 @@ stdenv.mkDerivation rec {
|
|||||||
homepage = https://github.com/open-source-parsers/jsoncpp;
|
homepage = https://github.com/open-source-parsers/jsoncpp;
|
||||||
description = "A simple API to manipulate JSON data in C++";
|
description = "A simple API to manipulate JSON data in C++";
|
||||||
maintainers = with stdenv.lib.maintainers; [ ttuegel page ];
|
maintainers = with stdenv.lib.maintainers; [ ttuegel page ];
|
||||||
|
platforms = stdenv.lib.platforms.all;
|
||||||
license = stdenv.lib.licenses.mit;
|
license = stdenv.lib.licenses.mit;
|
||||||
branch = "1.6";
|
branch = "1.6";
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user