Merge pull request #200271 from ck3d/fix-cross-pygatt

python310Package.pygatt: fix cross compilation
This commit is contained in:
Christian Kögler 2023-02-18 21:52:29 +01:00 committed by GitHub
commit a7830e8146
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;