From 1369cae5fe1a706530a515381a73223cf0a77932 Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Fri, 8 Nov 2024 13:20:38 +0100 Subject: [PATCH] python311Packages.ahocorasick-rs: unbreak, add missing deps --- pkgs/development/python-modules/ahocorasick-rs/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/ahocorasick-rs/default.nix b/pkgs/development/python-modules/ahocorasick-rs/default.nix index 63c849e3537b..2f81eb4ccc4d 100644 --- a/pkgs/development/python-modules/ahocorasick-rs/default.nix +++ b/pkgs/development/python-modules/ahocorasick-rs/default.nix @@ -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