2021-01-25 09:26:54 +01:00
|
|
|
{ lib
|
2018-10-15 16:59:06 -04:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "python-Levenshtein";
|
2021-02-01 14:01:53 +01:00
|
|
|
version = "0.12.1";
|
2018-10-15 16:59:06 -04:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-02-01 14:01:53 +01:00
|
|
|
sha256 = "0489zzjlfgzpc7vggs7s7db13pld2nlnw7iwgdz1f386i0x2fkjm";
|
2018-10-15 16:59:06 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
# No tests included in archive
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2018-10-15 16:59:06 -04:00
|
|
|
description = "Functions for fast computation of Levenshtein distance and string similarity";
|
|
|
|
homepage = "https://github.com/ztane/python-Levenshtein";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = with maintainers; [ aske ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|