13 buildPythonPackage rec {
14 pname = "levenshtein";
18 disabled = pythonOlder "3.6";
20 src = fetchFromGitHub {
21 owner = "maxbachmann";
23 rev = "refs/tags/v${version}";
24 hash = "sha256-McTgQa4c+z+ABlm+tOgVf82meXZ1vWlzYCREnkxIfv0=";
33 dontUseCmakeConfigure = true;
39 propagatedBuildInputs = [
47 pythonImportsCheck = [
52 description = "Functions for fast computation of Levenshtein distance and string similarity";
53 homepage = "https://github.com/maxbachmann/Levenshtein";
54 changelog = "https://github.com/maxbachmann/Levenshtein/blob/${src.rev}/HISTORY.md";
55 license = licenses.gpl2Plus;
56 maintainers = with maintainers; [ fab ];