Merge pull request #18234 from taktoa/patch-2

nlohmann_json: 2.0.2 -> 2.0.3
This commit is contained in:
Joachim F 2016-09-03 18:17:42 +02:00 committed by GitHub
commit f4cb89ac5f

View File

@ -2,20 +2,27 @@
stdenv.mkDerivation rec {
name = "nlohmann_json-${version}";
version = "2.0.2";
version = "2.0.3";
src = fetchFromGitHub {
owner = "nlohmann";
repo = "json";
rev = "v${version}";
sha256 = "10sk8d23vh0c7b3qafjz2n8r5jv8vc275bl069ikhqnx1zxv6hwp";
sha256 = "192mg2y93g9q0jdn3fdffydpxk19nsrcv92kfip6srkdkwja18ri";
};
buildInputs = [ cmake ];
nativeBuildInputs = [ cmake ];
doCheck = true;
checkTarget = "test";
crossAttrs = {
cmakeFlags = "-DBuildTests=OFF";
doCheck = false;
} // stdenv.lib.optionalAttrs (stdenv.cross.libc == "msvcrt") {
cmakeFlags = "-DBuildTests=OFF -DCMAKE_SYSTEM_NAME=Windows";
};
meta = with stdenv.lib; {
description = "Header only C++ library for the JSON file format";
homepage = https://github.com/nlohmann/json;