Skip to content

Commit

Permalink
python312Packages.rapidfuzz: 3.9.7 -> 3.10.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dotlambda committed Oct 1, 2024
1 parent c136811 commit 7f2e17c
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions pkgs/development/python-modules/rapidfuzz/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
cmake,
cython,
ninja,
scikit-build,
scikit-build-core,
setuptools,
numpy,
hypothesis,
Expand All @@ -19,30 +19,28 @@

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"
'';

build-system = [
cmake
cython
ninja
scikit-build
setuptools
scikit-build-core
];

dontUseCmakeConfigure = true;
Expand All @@ -61,7 +59,7 @@ buildPythonPackage rec {
'';

optional-dependencies = {
full = [ numpy ];
all = [ numpy ];
};

preCheck = ''
Expand Down

0 comments on commit 7f2e17c

Please sign in to comment.