python310Package.pygatt: fix cross compilation

This commit is contained in:
Christian Kögler 2022-11-08 22:32:01 +01:00
parent 9eedb6777f
commit c13f9fbd5d

View File

@ -29,9 +29,15 @@ buildPythonPackage rec {
pexpect
];
nativeBuildInputs = [
# For cross compilation the doCheck is false and therefor the
# nativeCheckInputs not included. We have to include nose here, since
# setup.py requires nose unconditionally.
nose
];
nativeCheckInputs = [
mock
nose
pytestCheckHook
]
++ passthru.optional-dependencies.GATTTOOL;