jsoncpp: 1.9.4 -> 1.9.5

Removed the fetchpatch because the issue appears to be already fixed:
https://github.com/open-source-parsers/jsoncpp/issues/1235#issuecomment-772772285
This commit is contained in:
gilice 2023-03-25 20:18:55 +01:00
parent b1c1d5c814
commit 91793861d5

View file

@ -4,14 +4,13 @@
, cmake , cmake
, python3 , python3
, validatePkgConfig , validatePkgConfig
, fetchpatch
, secureMemory ? false , secureMemory ? false
, enableStatic ? stdenv.hostPlatform.isStatic , enableStatic ? stdenv.hostPlatform.isStatic
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "jsoncpp"; pname = "jsoncpp";
version = "1.9.4"; version = "1.9.5";
outputs = ["out" "dev"]; outputs = ["out" "dev"];
@ -19,17 +18,9 @@ stdenv.mkDerivation rec {
owner = "open-source-parsers"; owner = "open-source-parsers";
repo = "jsoncpp"; repo = "jsoncpp";
rev = version; rev = version;
sha256 = "0qnx5y6c90fphl9mj9d20j2dfgy6s5yr5l0xnzid0vh71zrp6jwv"; sha256 = "sha256-OyfJD19g8cT9wOD0hyJyEw4TbaxZ9eY04396U/7R+hs=";
}; };
patches = [
# Fix for https://github.com/open-source-parsers/jsoncpp/issues/1235.
(fetchpatch {
url = "https://github.com/open-source-parsers/jsoncpp/commit/ac2870298ed5b5a96a688d9df07461b31f83e906.patch";
sha256 = "02wswhiwypmf1jn3rj9q1fw164kljiv4l8h0q6wyijzr77hq4wsg";
})
];
/* During darwin bootstrap, we have a cp that doesn't understand the /* During darwin bootstrap, we have a cp that doesn't understand the
* --reflink=auto flag, which is used in the default unpackPhase for dirs * --reflink=auto flag, which is used in the default unpackPhase for dirs
*/ */