summary refs log tree commit diff
path: root/pkgs/development/python-modules/py_stringmatching/default.nix
blob: 8c49de1e5287cacaba35c905f5de89608faafd66 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
{ lib
, buildPythonPackage
, fetchPypi
, nose
, numpy
, pythonOlder
, six
}:

buildPythonPackage rec {
  pname = "py-stringmatching";
  version = "0.4.3";
  format = "setuptools";

  disabled = pythonOlder "3.7";

  src = fetchPypi {
    pname = "py_stringmatching";
    inherit version;
    sha256 = "sha256-khubsWOzEN80HDOCORMgT3sMqfajGfW0UUCDAL03je4=";
  };

  propagatedBuildInputs = [
    numpy
    six
  ];

  nativeCheckInputs = [
    nose
  ];

  pythonImportsCheck = [
    "py_stringmatching"
  ];

  meta = with lib; {
    description = "Python string matching library including string tokenizers and string similarity measures";
    homepage = "https://github.com/anhaidgroup/py_stringmatching";
    changelog = "https://github.com/anhaidgroup/py_stringmatching/blob/v${version}/CHANGES.txt";
    license = licenses.bsd3;
    maintainers = with maintainers; [ ixxie ];
  };
}