Merge pull request #283915 from bryango/rapidfuzz-cpp-test-levenshtein
rapidfuzz-cpp: add passthru.tests.levenshtein
This commit is contained in:
commit
24d97789b2
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user