From 9dd563bb129e8dfc210bd7d80ad499189fe6bf37 Mon Sep 17 00:00:00 2001 From: Matthew Justin Bauer Date: Tue, 31 May 2016 09:59:41 -0500 Subject: [PATCH] jsoncpp: enable and fix on darwin (#15845) --- pkgs/development/libraries/jsoncpp/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/libraries/jsoncpp/default.nix b/pkgs/development/libraries/jsoncpp/default.nix index 923d8af59bf..53df8d6e7cf 100644 --- a/pkgs/development/libraries/jsoncpp/default.nix +++ b/pkgs/development/libraries/jsoncpp/default.nix @@ -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"; };