biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / py-stringmatching / default.nix
blobfd6a265b87e5e9fbf058a7d9dcf741e15242a5f6
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   setuptools,
6   pytestCheckHook,
7   numpy,
8   pythonOlder,
9   six,
12 buildPythonPackage rec {
13   pname = "py-stringmatching";
14   version = "0.4.6";
15   pyproject = true;
17   disabled = pythonOlder "3.7";
19   src = fetchPypi {
20     inherit pname version;
21     hash = "sha256-XdHLHwT/sgHM+uQ4lxw9c+AcAdJjL6OVgfwtJkYLoBs=";
22   };
24   nativeBuildInputs = [ setuptools ];
26   propagatedBuildInputs = [
27     numpy
28     six
29   ];
31   nativeCheckInputs = [ pytestCheckHook ];
33   preCheck = ''
34     cd $out
35   '';
37   pythonImportsCheck = [ "py_stringmatching" ];
39   meta = with lib; {
40     description = "Python string matching library including string tokenizers and string similarity measures";
41     homepage = "https://github.com/anhaidgroup/py_stringmatching";
42     changelog = "https://github.com/anhaidgroup/py_stringmatching/blob/v${version}/CHANGES.txt";
43     license = licenses.bsd3;
44   };