mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-12 15:47:28 +00:00
python3Packages.python-Levenshtein: add pythonImportsCheck
This commit is contained in:
parent
293e6f0ce5
commit
2ba04c2b4e
|
@ -4,8 +4,9 @@
|
|||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-Levenshtein";
|
||||
pname = "python-levenshtein";
|
||||
version = "0.12.2";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
|
@ -15,11 +16,14 @@ buildPythonPackage rec {
|
|||
# No tests included in archive
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"Levenshtein"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Functions for fast computation of Levenshtein distance and string similarity";
|
||||
homepage = "https://github.com/ztane/python-Levenshtein";
|
||||
license = licenses.gpl2;
|
||||
homepage = "https://github.com/ztane/python-Levenshtein";
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = with maintainers; [ aske ];
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue