Merge pull request #117986 from doronbehar/pkg/nlohmann_json

This commit is contained in:
Doron Behar 2021-03-30 11:34:58 +00:00 committed by GitHub
commit b3bd7cc0b5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, cmake
{ lib, stdenv, fetchFromGitHub, fetchpatch, cmake
}:
stdenv.mkDerivation rec {
@ -12,6 +12,14 @@ stdenv.mkDerivation rec {
sha256 = "sha256-THordDPdH2qwk6lFTgeFmkl7iDuA/7YH71PTUe6vJCs=";
};
patches = [
# https://github.com/nlohmann/json/pull/2690
(fetchpatch {
url = "https://github.com/nlohmann/json/commit/53a9850eebb88c6ff95f6042d08d5c0cc9d18097.patch";
sha256 = "k+Og00nXNg5IsFQY5fWD3xVQQXUFFTie44UXole0S1M=";
})
];
nativeBuildInputs = [ cmake ];
cmakeFlags = [