python3Packages.dedupe-levenshtein-search: init at 1.4.5
This commit is contained in:
@@ -0,0 +1,45 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
|
||||
# build-system
|
||||
setuptools,
|
||||
|
||||
# tests
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "dedupe-levenshtein-search";
|
||||
version = "1.4.5";
|
||||
pyproject = true;
|
||||
|
||||
# NOTE: This is a fork of mattandahalfew/Levenshtein_search created for MIT licensing.
|
||||
# TODO: Evaluate if upstream version could be used instead.
|
||||
src = fetchFromGitHub {
|
||||
owner = "dedupeio";
|
||||
repo = "Levenshtein_search";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-YhsZA28H4OUkQEBtJ+9OXJld4Z/PJbOPqAQQ9qaXSjk=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"Levenshtein_search"
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Search through documents for approximately matching strings using Levenshtein distance";
|
||||
homepage = "https://github.com/dedupeio/Levenshtein_search";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ daniel-fahey ];
|
||||
};
|
||||
}
|
||||
@@ -3536,6 +3536,8 @@ self: super: with self; {
|
||||
|
||||
decorator = callPackage ../development/python-modules/decorator { };
|
||||
|
||||
dedupe-levenshtein-search = callPackage ../development/python-modules/dedupe-levenshtein-search { };
|
||||
|
||||
deebot-client = callPackage ../development/python-modules/deebot-client { };
|
||||
|
||||
deemix = callPackage ../development/python-modules/deemix { };
|
||||
|
||||
Reference in New Issue
Block a user