python312Packages.rapidfuzz: support Taskflow 3.8.0

This commit is contained in:
Robert Schütz
2024-10-14 22:03:01 -07:00
parent 4631e519a8
commit f25e1d1fb7
@@ -4,6 +4,7 @@
buildPythonPackage,
pythonOlder,
fetchFromGitHub,
fetchpatch2,
cmake,
cython,
ninja,
@@ -31,6 +32,15 @@ buildPythonPackage rec {
hash = "sha256-hLYidU09nCSOi42zgSh7dW83glxIjFY4C6BTmy/sf60=";
};
patches = [
# https://github.com/rapidfuzz/RapidFuzz/pull/414
(fetchpatch2 {
name = "support-taskflow-3.8.0.patch";
url = "https://github.com/rapidfuzz/RapidFuzz/commit/8f0429bbd970ccc036018b87108845c384911ff7.patch";
hash = "sha256-1wizdCkXYEMe5JWXUHCOCuDdS0z76FKimR47B3s2oVU=";
})
];
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail "Cython >=3.0.11, <3.1.0" "Cython"