Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
864 B · 45 lines
Nix
at flake-libs
12345678910111213141516171819202122232425262728293031323334353637383940414243444546{ 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 ]; };}