1{ lib, buildPythonPackage, fetchPypi }:
2
3buildPythonPackage rec {
4 pname = "textdistance";
5 version = "4.5.0";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "sha256-Nk1D9PZjV0JmLj5s9TcqhoWUFshKPJsu+dZtRPWkOFw=";
10 };
11
12 # There aren't tests
13 doCheck = false;
14
15 pythonImportsCheck = [ "textdistance" ];
16
17 meta = with lib; {
18 description = "Python library for comparing distance between two or more sequences";
19 homepage = "https://github.com/life4/textdistance";
20 license = licenses.mit;
21 maintainers = with maintainers; [ ];
22 };
23}