Subject: [bug#71540] [PATCH 4/7] gnu: Add python-rapidfuzz.

From: Antero Mejr <[email-masked]>
Date: Thu, 13 Jun 2024 19:27:42 +0000

* gnu/packages/python-xyz.scm (python-rapidfuzz): New variable.

Change-Id: I723f0b401d61c42799dbb3bf760c57bfe3bd1204
---
 gnu/packages/python-xyz.scm | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index e5006175cf..5db5bb9d02 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -21012,6 +21012,24 @@ (define-public python-pylev
 @url{http://en.wikipedia.org/wiki/Levenshtein_distance}.")
     (license license:bsd-3)))
 
+(define-public python-rapidfuzz
+  (package
+    (name "python-rapidfuzz")
+    (version "3.9.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "rapidfuzz" version))
+       (sha256
+        (base32 "1qh6in6jsybzf414d9samh34npkx34qc95srrqdlal7dx1kfm65k"))))
+    (build-system python-build-system)
+    (native-inputs (list python-hypothesis python-pytest python-scikit-build))
+    (home-page "https://github.com/rapidfuzz/RapidFuzz")
+    (synopsis "Rapid fuzzy string matching for Python")
+    (description "RapidFuzz is a fast string matching library for Python and
+C++, which is using the string similarity calculations from FuzzyWuzzy.")
+    (license license:expat)))
+
 (define-public python-cleo
   (package
     (name "python-cleo")
-- 
2.41.0