rapidfuzz-cpp: 3.0.5 -> 3.1.1 (#351052)

This commit is contained in:
Robert Schütz 2024-11-10 18:58:49 -08:00 committed by GitHub
commit 9d2100929d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 14 deletions

View File

@ -8,13 +8,13 @@
stdenv.mkDerivation (finalAttrs: {
pname = "rapidfuzz-cpp";
version = "3.0.5";
version = "3.1.1";
src = fetchFromGitHub {
owner = "rapidfuzz";
repo = "rapidfuzz-cpp";
rev = "v${finalAttrs.version}";
hash = "sha256-8s2Jd1fI8iNmFyMbCEaGZdpqvYFB1tVNZ41ICLN4AeI=";
hash = "sha256-0ZMK9WVMflgGD4uEKp7/SvWXCByYQtPU9gSJsNEqTbM=";
};
nativeBuildInputs = [

View File

@ -4,7 +4,6 @@
buildPythonPackage,
pythonOlder,
fetchFromGitHub,
fetchpatch2,
cmake,
cython,
ninja,
@ -20,7 +19,7 @@
buildPythonPackage rec {
pname = "rapidfuzz";
version = "3.10.0";
version = "3.10.1";
pyproject = true;
disabled = pythonOlder "3.9";
@ -29,18 +28,9 @@ buildPythonPackage rec {
owner = "maxbachmann";
repo = "RapidFuzz";
rev = "refs/tags/v${version}";
hash = "sha256-hLYidU09nCSOi42zgSh7dW83glxIjFY4C6BTmy/sf60=";
hash = "sha256-0L8nkjgWdP/w//M69ZRxYk9If3CIEcnAl9mkJKJ4o1g=";
};
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"