python311Packages.ahocorasick-rs: unbreak, add missing deps

This commit is contained in:
Peder Bergebakken Sundt 2024-11-08 13:20:38 +01:00
parent 557398e23b
commit 1369cae5fe

View File

@ -1,11 +1,13 @@
{
lib,
buildPythonPackage,
pythonOlder,
fetchPypi,
rustPlatform,
pytestCheckHook,
pyahocorasick,
hypothesis,
typing-extensions,
pytest-benchmark,
}:
@ -32,6 +34,8 @@ buildPythonPackage rec {
cargoSetupHook
];
dependencies = lib.optionals (pythonOlder "3.12") [ typing-extensions ];
nativeCheckInputs = [
pytest-benchmark
pytestCheckHook