From 86e3a7960d445a9b4f73f463cb45897efeb9b25f Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 22 Sep 2023 08:45:23 +0200 Subject: [PATCH] python311Packages.pykka: add pythonImportsCheck --- pkgs/development/python-modules/pykka/default.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pkgs/development/python-modules/pykka/default.nix b/pkgs/development/python-modules/pykka/default.nix index 1211d94f922..b13aaa716f6 100644 --- a/pkgs/development/python-modules/pykka/default.nix +++ b/pkgs/development/python-modules/pykka/default.nix @@ -5,6 +5,7 @@ , poetry-core , pytestCheckHook , pytest-mock +, typing-extensions }: buildPythonPackage rec { @@ -25,11 +26,19 @@ buildPythonPackage rec { poetry-core ]; + propagatedBuildInputs = lib.optionals (pythonOlder "3.10") [ + typing-extensions + ]; + nativeCheckInputs = [ pytestCheckHook pytest-mock ]; + pythonImportsCheck = [ + "pykka" + ]; + meta = with lib; { homepage = "https://www.pykka.org/"; description = "A Python implementation of the actor model";