python311Packages.levenshtein: fetch submodules

This allows access to the vendored dependency `rapidfuzz-cpp`, which is
older (2.0.0) than the nixpkgs version (3.0.0).

The nixpkgs `rapidfuzz-cpp` is kept in buildInputs, which enables us to
seamlessly switch back to it when levenshtein catches up in the future.
This commit is contained in:
Bryan Lai 2024-01-25 17:38:44 +08:00
parent a763026780
commit 8a2f9b2414

View file

@ -22,7 +22,8 @@ buildPythonPackage rec {
owner = "maxbachmann";
repo = "Levenshtein";
rev = "refs/tags/v${version}";
hash = "sha256-O39Xe26WKAGcv6DEvwuOL8NZJBem5SYZDX1TPAY7/uA=";
hash = "sha256-xQimslz/G6nf2uYerLSaRAK5gvmfDmWTzEx/fh+nqg0=";
fetchSubmodules = true; ## for vendored `rapidfuzz-cpp`
};
nativeBuildInputs = [