Skip to content

Commit

Permalink
python3Packages.correctionlib: patch vendored rapidjson
Browse files Browse the repository at this point in the history
  • Loading branch information
veprbl committed Jan 8, 2025
1 parent 4f9f372 commit 2a38243
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions pkgs/development/python-modules/correctionlib/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
lib,
buildPythonPackage,
fetchFromGitHub,
fetchpatch,

# build-system
cmake,
Expand Down Expand Up @@ -37,6 +38,16 @@ buildPythonPackage rec {
fetchSubmodules = true;
};

patches = [
# fix https://github.com/Tencent/rapidjson/issues/2277
(fetchpatch {
url = "https://github.com/Tencent/rapidjson/pull/719.diff";
hash = "sha256-xarSfi9o73KoJo0ijT0G8fyTSYVuY0+9rLEtfUwas0Q=";
extraPrefix = "rapidjson/";
stripLen = 1;
})
];

build-system = [
cmake
scikit-build
Expand Down

0 comments on commit 2a38243

Please sign in to comment.