diff options
author | Matthew Justin Bauer <mjbauer95@gmail.com> | 2016-05-31 09:59:41 -0500 |
---|---|---|
committer | Robin Gloster <mail@glob.in> | 2016-05-31 16:59:41 +0200 |
commit | 9dd563bb129e8dfc210bd7d80ad499189fe6bf37 (patch) | |
tree | 893792faf7c54a14d5a1b234d5e1811c638057e8 /pkgs/development/libraries/jsoncpp | |
parent | 3ecd527af091c55120587c66333fe3b214c817b5 (diff) | |
download | nixpkgs-9dd563bb129e8dfc210bd7d80ad499189fe6bf37.tar nixpkgs-9dd563bb129e8dfc210bd7d80ad499189fe6bf37.tar.gz nixpkgs-9dd563bb129e8dfc210bd7d80ad499189fe6bf37.tar.bz2 nixpkgs-9dd563bb129e8dfc210bd7d80ad499189fe6bf37.tar.lz nixpkgs-9dd563bb129e8dfc210bd7d80ad499189fe6bf37.tar.xz nixpkgs-9dd563bb129e8dfc210bd7d80ad499189fe6bf37.tar.zst nixpkgs-9dd563bb129e8dfc210bd7d80ad499189fe6bf37.zip |
jsoncpp: enable and fix on darwin (#15845)
Diffstat (limited to 'pkgs/development/libraries/jsoncpp')
-rw-r--r-- | pkgs/development/libraries/jsoncpp/default.nix | 3 |
1 files changed, 3 insertions, 0 deletions
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"; }; |