blob: 9a1af7c13cf710800069e7dac04bb22e00a0b4c4 (
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
44
45
46
47
48
49
50
51
52
|
{ lib
, buildPythonPackage
, fetchPypi
, setuptools
, pytestCheckHook
, numpy
, pythonOlder
, six
}:
buildPythonPackage rec {
pname = "py-stringmatching";
version = "0.4.3";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
pname = "py_stringmatching";
inherit version;
hash = "sha256-khubsWOzEN80HDOCORMgT3sMqfajGfW0UUCDAL03je4=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
numpy
six
];
nativeCheckInputs = [
pytestCheckHook
];
preCheck = ''
cd $out
'';
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 ];
};
}
|