python3Packages.pyahocorasick: init at 1.4.0
This commit is contained in:
parent
21c56fc3cf
commit
04eab02b16
34
pkgs/development/python-modules/pyahocorasick/default.nix
Normal file
34
pkgs/development/python-modules/pyahocorasick/default.nix
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, pytestCheckHook
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "pyahocorasick";
|
||||||
|
version = "1.4.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "WojciechMula";
|
||||||
|
repo = pname;
|
||||||
|
rev = version;
|
||||||
|
sha256 = "0plm9x2gziayjsl7flsgn1z8qx88c9vqm4fs1wq7dv7fr188liik";
|
||||||
|
};
|
||||||
|
|
||||||
|
checkInputs = [ pytestCheckHook ];
|
||||||
|
|
||||||
|
pytestFlagsArray = [ "unittests.py" ];
|
||||||
|
pythonImportsCheck = [ "ahocorasick" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Python module implementing Aho-Corasick algorithm";
|
||||||
|
longDescription = ''
|
||||||
|
This Python module is a fast and memory efficient library for exact or
|
||||||
|
approximate multi-pattern string search meaning that you can find multiple
|
||||||
|
key strings occurrences at once in some input text.
|
||||||
|
'';
|
||||||
|
homepage = "https://github.com/WojciechMula/pyahocorasick";
|
||||||
|
license = with licenses; [ bsd3 ];
|
||||||
|
maintainers = with maintainers; [ fab ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -5124,6 +5124,8 @@ in {
|
||||||
|
|
||||||
pyaftership = callPackage ../development/python-modules/pyaftership { };
|
pyaftership = callPackage ../development/python-modules/pyaftership { };
|
||||||
|
|
||||||
|
pyahocorasick = callPackage ../development/python-modules/pyahocorasick { };
|
||||||
|
|
||||||
pyairvisual = callPackage ../development/python-modules/pyairvisual { };
|
pyairvisual = callPackage ../development/python-modules/pyairvisual { };
|
||||||
|
|
||||||
pyalgotrade = callPackage ../development/python-modules/pyalgotrade { };
|
pyalgotrade = callPackage ../development/python-modules/pyalgotrade { };
|
||||||
|
|
Loading…
Reference in a new issue