mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
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 ];
|
||||
|
||||
CXXFLAGS = "-Wno-shift-negative-value";
|
||||
|
||||
cmakeFlags = [
|
||||
"-DJSONCPP_LIB_BUILD_SHARED=ON"
|
||||
"-DJSONCPP_LIB_BUILD_STATIC=OFF"
|
||||
@ -39,6 +41,7 @@ stdenv.mkDerivation rec {
|
||||
homepage = https://github.com/open-source-parsers/jsoncpp;
|
||||
description = "A simple API to manipulate JSON data in C++";
|
||||
maintainers = with stdenv.lib.maintainers; [ ttuegel page ];
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
license = stdenv.lib.licenses.mit;
|
||||
branch = "1.6";
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user