Robert Schütz
2024-10-01 16:37:59 -07:00
parent c1368113f5
commit 7f2e17c0d1
@@ -7,7 +7,7 @@
cmake,
cython,
ninja,
scikit-build,
scikit-build-core,
setuptools,
numpy,
hypothesis,
@@ -19,21 +19,20 @@
buildPythonPackage rec {
pname = "rapidfuzz";
version = "3.9.7";
version = "3.10.0";
pyproject = true;
disabled = pythonOlder "3.8";
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "maxbachmann";
repo = "RapidFuzz";
rev = "refs/tags/v${version}";
hash = "sha256-hyjzY9ogroUa4nGSG8HOyr5FxifX9d7Hf8ezKq6zxVk=";
hash = "sha256-hLYidU09nCSOi42zgSh7dW83glxIjFY4C6BTmy/sf60=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail "scikit-build~=0.18.0" "scikit-build" \
--replace-fail "Cython >=3.0.11, <3.1.0" "Cython"
'';
@@ -41,8 +40,7 @@ buildPythonPackage rec {
cmake
cython
ninja
scikit-build
setuptools
scikit-build-core
];
dontUseCmakeConfigure = true;
@@ -61,7 +59,7 @@ buildPythonPackage rec {
'';
optional-dependencies = {
full = [ numpy ];
all = [ numpy ];
};
preCheck = ''