python311Packages.pykka: add pythonImportsCheck

This commit is contained in:
Fabian Affolter 2023-09-22 08:45:23 +02:00 committed by GitHub
parent 15c5a5b632
commit 86e3a7960d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,6 +5,7 @@
, poetry-core , poetry-core
, pytestCheckHook , pytestCheckHook
, pytest-mock , pytest-mock
, typing-extensions
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -25,11 +26,19 @@ buildPythonPackage rec {
poetry-core poetry-core
]; ];
propagatedBuildInputs = lib.optionals (pythonOlder "3.10") [
typing-extensions
];
nativeCheckInputs = [ nativeCheckInputs = [
pytestCheckHook pytestCheckHook
pytest-mock pytest-mock
]; ];
pythonImportsCheck = [
"pykka"
];
meta = with lib; { meta = with lib; {
homepage = "https://www.pykka.org/"; homepage = "https://www.pykka.org/";
description = "A Python implementation of the actor model"; description = "A Python implementation of the actor model";