7 buildPythonPackage rec {
8 pname = "pyahocorasick";
11 src = fetchFromGitHub {
12 owner = "WojciechMula";
15 sha256 = "0plm9x2gziayjsl7flsgn1z8qx88c9vqm4fs1wq7dv7fr188liik";
18 checkInputs = [ pytestCheckHook ];
20 pytestFlagsArray = [ "unittests.py" ];
21 pythonImportsCheck = [ "ahocorasick" ];
24 description = "Python module implementing Aho-Corasick algorithm";
26 This Python module is a fast and memory efficient library for exact or
27 approximate multi-pattern string search meaning that you can find multiple
28 key strings occurrences at once in some input text.
30 homepage = "https://github.com/WojciechMula/pyahocorasick";
31 license = with licenses; [ bsd3 ];
32 maintainers = with maintainers; [ fab ];