Merge pull request #283915 from bryango/rapidfuzz-cpp-test-levenshtein

rapidfuzz-cpp: add passthru.tests.levenshtein
This commit is contained in:
Robert Schütz 2024-01-29 04:22:01 +00:00 committed by GitHub
commit 24d97789b2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3,6 +3,7 @@
, fetchFromGitHub
, cmake
, catch2_3
, python3Packages
}:
stdenv.mkDerivation (finalAttrs: {
@ -33,6 +34,13 @@ stdenv.mkDerivation (finalAttrs: {
catch2_3
];
passthru = {
tests = {
/** `python3Packages.levenshtein` crucially depends on `rapidfuzz-cpp` */
inherit (python3Packages) levenshtein;
};
};
meta = {
description = "Rapid fuzzy string matching in C++ using the Levenshtein Distance";
homepage = "https://github.com/maxbachmann/rapidfuzz-cpp";