Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
43 lines
854 B
Nix
43 lines
854 B
Nix
{
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
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 ];
|
|
|
|
pythonRemoveDeps = [ "future" ];
|
|
|
|
pythonImportsCheck = [ "ahocorapy" ];
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
];
|
|
|
|
enabledTestPaths = [
|
|
"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 ];
|
|
};
|
|
}
|