python3Packages.dedupe-levenshtein-search: init at 1.4.5

This commit is contained in:
Daniel Fahey
2025-10-20 09:41:17 +01:00
parent 0d1deaa35f
commit d3edbad75f
2 changed files with 47 additions and 0 deletions
@@ -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 ];
};
}
+2
View File
@@ -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 { };