Skip to content

Commit f25e1d1

Browse files
committed
python312Packages.rapidfuzz: support Taskflow 3.8.0
1 parent 4631e51 commit f25e1d1

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

pkgs/development/python-modules/rapidfuzz/default.nix

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
buildPythonPackage,
55
pythonOlder,
66
fetchFromGitHub,
7+
fetchpatch2,
78
cmake,
89
cython,
910
ninja,
@@ -31,6 +32,15 @@ buildPythonPackage rec {
3132
hash = "sha256-hLYidU09nCSOi42zgSh7dW83glxIjFY4C6BTmy/sf60=";
3233
};
3334

35+
patches = [
36+
# https://github.com/rapidfuzz/RapidFuzz/pull/414
37+
(fetchpatch2 {
38+
name = "support-taskflow-3.8.0.patch";
39+
url = "https://github.com/rapidfuzz/RapidFuzz/commit/8f0429bbd970ccc036018b87108845c384911ff7.patch";
40+
hash = "sha256-1wizdCkXYEMe5JWXUHCOCuDdS0z76FKimR47B3s2oVU=";
41+
})
42+
];
43+
3444
postPatch = ''
3545
substituteInPlace pyproject.toml \
3646
--replace-fail "Cython >=3.0.11, <3.1.0" "Cython"

0 commit comments

Comments
 (0)