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