python312Packages.ahocorapy: init at 1.6.2

This commit is contained in:
Robert Schütz
2025-01-03 09:49:29 -08:00
parent aaadb7f179
commit 9f0b60a08d
2 changed files with 47 additions and 0 deletions
@@ -0,0 +1,45 @@
{
buildPythonPackage,
fetchFromGitHub,
future,
lib,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
pname = "ahocorapy";
version = "1.6.2";
pyproject = true;
src = fetchFromGitHub {
owner = "abusix";
repo = "ahocorapy";
tag = version;
hash = "sha256-ynVkDnrZ12dpNPoKfUdw0/X06aORFkmXFMVH9u0Payo=";
};
build-system = [ setuptools ];
dependencies = [
future
];
pythonImportsCheck = [ "ahocorapy" ];
nativeCheckInputs = [
pytestCheckHook
];
pytestFlagsArray = [
"tests/ahocorapy_test.py"
];
meta = {
changelog = "https://github.com/abusix/ahocorapy/blob/${src.tag}/CHANGELOG";
description = "Pure python Aho-Corasick library";
homepage = "https://github.com/abusix/ahocorapy";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ dotlambda ];
};
}
+2
View File
@@ -131,6 +131,8 @@ self: super: with self; {
aggdraw = callPackage ../development/python-modules/aggdraw { };
ahocorapy = callPackage ../development/python-modules/ahocorapy { };
ahocorasick-rs = callPackage ../development/python-modules/ahocorasick-rs { };
aigpy = callPackage ../development/python-modules/aigpy { };