1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pythonOlder, 6}: 7 8buildPythonPackage rec { 9 pname = "textdistance"; 10 version = "4.6.2"; 11 format = "setuptools"; 12 13 disabled = pythonOlder "3.7"; 14 15 src = fetchPypi { 16 inherit pname version; 17 hash = "sha256-AeH7z3uHHrj0GRHZT0YbC5nPgAM4TuDhw0ylwaerLtA="; 18 }; 19 20 # There aren't tests 21 doCheck = false; 22 23 pythonImportsCheck = [ "textdistance" ]; 24 25 meta = with lib; { 26 description = "Python library for comparing distance between two or more sequences"; 27 homepage = "https://github.com/life4/textdistance"; 28 changelog = "https://github.com/life4/textdistance/releases/tag/${version}"; 29 license = licenses.mit; 30 maintainers = with maintainers; [ ]; 31 }; 32}