9 buildPythonPackage rec {
10 pname = "pyahocorasick";
12 format = "setuptools";
14 disabled = pythonOlder "3.7";
16 src = fetchFromGitHub {
17 owner = "WojciechMula";
19 rev = "refs/tags/${version}";
20 hash = "sha256-SCIgu0uEjiSUiIP0WesJG+y+3ZqFBfI5PdgUzviOVrs=";
23 nativeCheckInputs = [ pytestCheckHook ];
25 pythonImportsCheck = [ "ahocorasick" ];
28 description = "Python module implementing Aho-Corasick algorithm";
30 This Python module is a fast and memory efficient library for exact or
31 approximate multi-pattern string search meaning that you can find multiple
32 key strings occurrences at once in some input text.
34 homepage = "https://github.com/WojciechMula/pyahocorasick";
35 changelog = "https://github.com/WojciechMula/pyahocorasick/blob/${version}/CHANGELOG.rst";
36 license = with licenses; [ bsd3 ];
37 maintainers = with maintainers; [ fab ];