guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 1453213ec28888aa671ec1db1abeb055ae45b63b
Author: Vinicius Monego <[email protected]>
AuthorDate: Sat Jun 21 11:22:17 2025 -0300

    gnu: Add rapidfuzz-cpp.
    
    * gnu/packages/cpp.scm (rapidfuzz-cpp): New variable.
    
    Change-Id: I04b221b13d2e13cf9364298dc44a085c780a3194
---
 gnu/packages/cpp.scm | 26 +++++++++++++++++++++++++-
 1 file changed, 25 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index 6471a48da5..16ffed8ba1 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -10,7 +10,7 @@
 ;;; Copyright © 2020 Roel Janssen <[email protected]>
 ;;; Copyright © 2020, 2021, 2023, 2024, 2025 Ricardo Wurmus 
<[email protected]>
 ;;; Copyright © 2020 Brice Waegeneire <[email protected]>
-;;; Copyright © 2020, 2021, 2022, 2024 Vinicius Monego <[email protected]>
+;;; Copyright © 2020, 2021, 2022, 2024, 2025 Vinicius Monego 
<[email protected]>
 ;;; Copyright © 2020, 2022 Marius Bakke <[email protected]>
 ;;; Copyright © 2020 Michael Rohleder <[email protected]>
 ;;; Copyright © 2020 Alexandros Theodotou <[email protected]>
@@ -1686,6 +1686,30 @@ HTTP/HTTPS library, easy to setup.  It can also be used 
as a single-header
 library.")
     (license license:expat)))
 
+(define-public rapidfuzz-cpp
+  (package
+    (name "rapidfuzz-cpp")
+    (version "3.3.2")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/rapidfuzz/rapidfuzz-cpp";)
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1im0k0pjg1fnzsixl5k7j706kwwdhkw15a9hpkyr8yqbmmbg9q82"))))
+    (build-system cmake-build-system)
+    (arguments
+     (list
+      #:configure-flags #~(list "-DRAPIDFUZZ_BUILD_TESTING=ON")))
+    (native-inputs (list catch2))
+    (home-page "https://github.com/rapidfuzz/rapidfuzz-cpp";)
+    (synopsis "Rapid fuzzy string matching using the Levenshtein Distance")
+    (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 cpplint
   (package
     (name "cpplint")

Reply via email to