summaryrefslogtreecommitdiff
path: root/gnu/packages/cpp.scm
diff options
context:
space:
mode:
authorVinicius Monego <monego@posteo.net>2025-06-21 11:22:17 -0300
committerVinicius Monego <monego@posteo.net>2025-07-23 15:30:17 -0300
commit1453213ec28888aa671ec1db1abeb055ae45b63b (patch)
tree8208c6f3a858e313a8568d54163f83aaacd2c84e /gnu/packages/cpp.scm
parentcfa72fb53d4ed6bf61f9adf5a4a78a8cae9a8234 (diff)
gnu: Add rapidfuzz-cpp.
* gnu/packages/cpp.scm (rapidfuzz-cpp): New variable. Change-Id: I04b221b13d2e13cf9364298dc44a085c780a3194
Diffstat (limited to 'gnu/packages/cpp.scm')
-rw-r--r--gnu/packages/cpp.scm26
1 files changed, 25 insertions, 1 deletions
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 <roel@gnu.org>
;;; Copyright © 2020, 2021, 2023, 2024, 2025 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2020 Brice Waegeneire <brice@waegenei.re>
-;;; Copyright © 2020, 2021, 2022, 2024 Vinicius Monego <monego@posteo.net>
+;;; Copyright © 2020, 2021, 2022, 2024, 2025 Vinicius Monego <monego@posteo.net>
;;; Copyright © 2020, 2022 Marius Bakke <marius@gnu.org>
;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
;;; Copyright © 2020 Alexandros Theodotou <alex@zrythm.org>
@@ -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")