rapidfuzz-cpp: add passthru.tests.levenshtein
`python3Packages.levenshtein` crucially depends on `rapidfuzz-cpp`, so we add it to `passthru.tests` to prevent future breakage. Co-authored-by: Robert Schütz <github@dotlambda.de>
This commit is contained in:
co-authored by
Robert Schütz
parent
6620368452
commit
450e082a81
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user