2021-01-25 00:26:54 -08:00
|
|
|
{ lib
|
2018-10-15 13:59:06 -07:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "python-Levenshtein";
|
2021-02-20 01:09:15 -08:00
|
|
|
version = "0.12.2";
|
2018-10-15 13:59:06 -07:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-02-20 01:09:15 -08:00
|
|
|
sha256 = "dc2395fbd148a1ab31090dd113c366695934b9e85fe5a4b2a032745efd0346f6";
|
2018-10-15 13:59:06 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
# No tests included in archive
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-10 23:54:33 -08:00
|
|
|
meta = with lib; {
|
2018-10-15 13:59:06 -07: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 ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|