mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-08 19:45:42 +03:00
python312Packages.rapidfuzz: 3.9.7 -> 3.10.0 (#344062)
This commit is contained in:
commit
e8597a0de1
2 changed files with 9 additions and 11 deletions
|
@ -7,7 +7,7 @@
|
||||||
cmake,
|
cmake,
|
||||||
cython,
|
cython,
|
||||||
ninja,
|
ninja,
|
||||||
scikit-build,
|
scikit-build-core,
|
||||||
setuptools,
|
setuptools,
|
||||||
numpy,
|
numpy,
|
||||||
hypothesis,
|
hypothesis,
|
||||||
|
@ -19,21 +19,20 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "rapidfuzz";
|
pname = "rapidfuzz";
|
||||||
version = "3.9.7";
|
version = "3.10.0";
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
|
|
||||||
disabled = pythonOlder "3.8";
|
disabled = pythonOlder "3.9";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "maxbachmann";
|
owner = "maxbachmann";
|
||||||
repo = "RapidFuzz";
|
repo = "RapidFuzz";
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-hyjzY9ogroUa4nGSG8HOyr5FxifX9d7Hf8ezKq6zxVk=";
|
hash = "sha256-hLYidU09nCSOi42zgSh7dW83glxIjFY4C6BTmy/sf60=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace pyproject.toml \
|
substituteInPlace pyproject.toml \
|
||||||
--replace-fail "scikit-build~=0.18.0" "scikit-build" \
|
|
||||||
--replace-fail "Cython >=3.0.11, <3.1.0" "Cython"
|
--replace-fail "Cython >=3.0.11, <3.1.0" "Cython"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
@ -41,8 +40,7 @@ buildPythonPackage rec {
|
||||||
cmake
|
cmake
|
||||||
cython
|
cython
|
||||||
ninja
|
ninja
|
||||||
scikit-build
|
scikit-build-core
|
||||||
setuptools
|
|
||||||
];
|
];
|
||||||
|
|
||||||
dontUseCmakeConfigure = true;
|
dontUseCmakeConfigure = true;
|
||||||
|
@ -61,7 +59,7 @@ buildPythonPackage rec {
|
||||||
'';
|
'';
|
||||||
|
|
||||||
optional-dependencies = {
|
optional-dependencies = {
|
||||||
full = [ numpy ];
|
all = [ numpy ];
|
||||||
};
|
};
|
||||||
|
|
||||||
preCheck = ''
|
preCheck = ''
|
||||||
|
|
|
@ -30,14 +30,14 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "scikit-build-core";
|
pname = "scikit-build-core";
|
||||||
version = "0.10.5";
|
version = "0.10.7";
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "scikit-build";
|
owner = "scikit-build";
|
||||||
repo = "scikit-build-core";
|
repo = "scikit-build-core";
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-hpwXEWPofgMT4ua2tZI1mtGbaBkT2XPBd6QL8xTi1A0=";
|
hash = "sha256-R6/Y9brIYBA1P3YeG8zGaoPcxWFUDqZlqbZpWu3MIIw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = lib.optionalString (pythonOlder "3.11") ''
|
postPatch = lib.optionalString (pythonOlder "3.11") ''
|
||||||
|
@ -89,7 +89,7 @@ buildPythonPackage rec {
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Next generation Python CMake adaptor and Python API for plugins";
|
description = "Next generation Python CMake adaptor and Python API for plugins";
|
||||||
homepage = "https://github.com/scikit-build/scikit-build-core";
|
homepage = "https://github.com/scikit-build/scikit-build-core";
|
||||||
changelog = "https://github.com/scikit-build/scikit-build-core/releases/tag/v${version}";
|
changelog = "https://github.com/scikit-build/scikit-build-core/blob/${src.rev}/docs/changelog.md";
|
||||||
license = with licenses; [ asl20 ];
|
license = with licenses; [ asl20 ];
|
||||||
maintainers = with maintainers; [ veprbl ];
|
maintainers = with maintainers; [ veprbl ];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue